Skip to content

Commit e0644f7

Browse files
committed
chore: update token for github test 5
Signed-off-by: Manish Dait <daitmanish88@gmail.com>
1 parent 118c4cd commit e0644f7

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/sync-issue-labels-compute.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,16 @@ jobs:
189189
needs: compute-labels
190190
runs-on: ubuntu-latest
191191
steps:
192+
- name: Check Token Presence
193+
run: |
194+
if [ -z "$TOKEN" ]; then
195+
echo "::error::GH_ACCESS_TOKEN is missing! If this is a Fork PR, secrets are disabled by GitHub."
196+
exit 1
197+
else
198+
echo "Token is present."
199+
fi
200+
env:
201+
TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
192202
- name: Trigger add workflow
193203
uses: step-security/workflow-dispatch@acca1a315af3bf7f33dd116d3cb405cb83f5cbdc # v1.2.8
194204
with:

0 commit comments

Comments
 (0)