ci: don't write CI status to file
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
parent
1ae36092c9
commit
e679066fca
|
@ -1,4 +1,4 @@
|
|||
name: release-next-branch
|
||||
name: authentik-on-release-next-branch
|
||||
|
||||
on:
|
||||
schedule:
|
||||
|
@ -18,7 +18,7 @@ jobs:
|
|||
ref: main
|
||||
- id: main-status
|
||||
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
|
||||
- if: ${{ steps.main-status.outputs.status == 'success' }}
|
||||
run: |
|
||||
|
|
Reference in New Issue