Skip to content

Commit d1277b0

Browse files
committed
fix: fallback to GITHUB_TOKEN when JELLYROCK_BOT_TOKEN is unavailable
This fixes workflow failures on Dependabot PRs where repository secrets are not available for security reasons.
1 parent f74100e commit d1277b0

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
steps:
1111
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
1212
with:
13-
token: ${{ secrets.JELLYROCK_BOT_TOKEN }}
13+
token: ${{ secrets.JELLYROCK_BOT_TOKEN || secrets.GITHUB_TOKEN }}
1414
- uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6
1515
with:
1616
node-version: "lts/*"

.github/workflows/update.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
1212
with:
1313
ref: ${{ github.ref_name }}
14-
token: ${{ secrets.JELLYROCK_BOT_TOKEN }}
14+
token: ${{ secrets.JELLYROCK_BOT_TOKEN || secrets.GITHUB_TOKEN }}
1515
- uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6
1616
with:
1717
node-version: "lts/*"

0 commit comments

Comments
 (0)