We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6eb54ff commit a37f192Copy full SHA for a37f192
.github/workflows/update-release-status.yml
@@ -57,17 +57,18 @@ jobs:
57
env:
58
GITHUB_TOKEN: ${{ github.token }}
59
run: |
60
- CHECK_RUN_ID=$(gh api \
+ check_run_id=$(gh api \
61
--header "Accept: application/vnd.github+json" \
62
--header "X-GitHub-Api-Version: 2022-11-28" \
63
--field name="release-status" \
64
--field head_sha="$HEAD_SHA" \
65
--jq ".id" \
66
/repos/$GITHUB_REPOSITORY/check-runs)
67
68
- echo "Created release status check run with id $CHECK_RUN_ID"
+ echo "Created release status check run with id $check_run_id"
69
# Reset the status to in progress.
70
echo "CHECK_RUN_STATUS=in_progress" >> "$GITHUB_ENV"
71
+ echo "CHECK_RUN_ID=$check_run_id" >> "$GITHUB_ENV"
72
73
- name: Check all runs completed
74
if: env.CHECK_RUN_STATUS != 'completed'
0 commit comments