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:
|
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: |
|
||||||
|
|
Reference in New Issue