Skip to content

Commit 5460c08

Browse files
timvwclaude
andcommitted
fix: remove invalid secrets condition in e2e-linux workflow
Removes the invalid `if: ${{ secrets.BOT_APP_ID != '' }}` condition that caused workflow validation to fail. Secrets cannot be checked in if expressions in GitHub Actions. Also removes the `|| github.token` fallback to require the bot token, making the e2e-linux job consistent with all other jobs in the workflow. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 6e3ad85 commit 5460c08

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,6 @@ jobs:
370370
steps:
371371
- name: Generate GitHub App token
372372
id: generate-token
373-
if: ${{ secrets.BOT_APP_ID != '' }}
374373
uses: actions/create-github-app-token@v1
375374
with:
376375
app-id: ${{ secrets.BOT_APP_ID }}
@@ -379,7 +378,7 @@ jobs:
379378
- name: Checkout code
380379
uses: actions/checkout@v4
381380
with:
382-
token: ${{ steps.generate-token.outputs.token || github.token }}
381+
token: ${{ steps.generate-token.outputs.token }}
383382

384383
- name: Set up Go
385384
uses: actions/setup-go@v5

0 commit comments

Comments
 (0)