Skip to content

Commit

Permalink
ci: Update Check Integration/XTS Job State to include GH_TOKEN
Browse files Browse the repository at this point in the history
**Description**:

Add GH_TOKEN env variable in Check Prep XTS Job & Check Integration Job
State

**Related Issue(s)**:

Fixes #17159

Signed-off-by: Roger Barker <roger.barker@swirldslabs.com>
  • Loading branch information
rbarkerSL committed Dec 21, 2024
1 parent 7911109 commit 96f36cd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/node-flow-deploy-release-artifact.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ defaults:
run:
shell: bash

permissions:
contents: read
actions: read

jobs:
prepare-tag-release:
name: Prepare Release [Tag]
Expand Down Expand Up @@ -156,6 +160,8 @@ jobs:
- name: Check Prep XTS Job State
id: check-xts-job
if: ${{ needs.release-branch.result == 'success' }}
env:
GH_TOKEN: ${{ github.token }}
run: |
JOB_ENABLED="true"
JOB_STATE=$(gh workflow list --all --json name,state | jq -r '.[]|select(.name=="ZXF: Prepare Extended Test Suite")|.state')
Expand All @@ -177,6 +183,8 @@ jobs:
if: ${{ needs.release-branch.result == 'success' &&
(inputs.author != '' && inputs.msg != '' && inputs.sha != '') &&
!cancelled() }}
env:
GH_TOKEN: ${{ github.token }}
run: |
JOB_ENABLED="true"
JOB_STATE=$(gh workflow list --all --json name,state | jq -r '.[]|select(.name=="ZXF: [Node] Deploy Integration Network Release")|.state')
Expand Down

0 comments on commit 96f36cd

Please sign in to comment.