ci: don't write CI status to file

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens Langhammer 2023-06-12 14:01:05 +02:00
parent 1ae36092c9
commit e679066fca
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
name: release-next-branch name: authentik-on-release-next-branch
on: on:
schedule: schedule:
@ -18,7 +18,7 @@ jobs:
ref: main ref: main
- id: main-status - id: main-status
run: | run: |
status=$(curl -fsSL -o head_status.json -H "Accept: application/vnd.github+json" -H "Authorization: Bearer ${{ github.token}}" "https://api.github.com/repos/${{ github.repository }}/commits/HEAD/status" | jq -r '.status') status=$(curl -fsSL -H "Accept: application/vnd.github+json" -H "Authorization: Bearer ${{ github.token }}" "https://api.github.com/repos/${{ github.repository }}/commits/HEAD/status" | jq -r '.status')
echo "status=${status}" >> $GITHUB_OUTPUT echo "status=${status}" >> $GITHUB_OUTPUT
- if: ${{ steps.main-status.outputs.status == 'success' }} - if: ${{ steps.main-status.outputs.status == 'success' }}
run: | run: |