Skip to content

Commit 098c0c0

Browse files
authored
[backport][ci] Make gh auth status optional when triggering a release (#89100)
Backports #89098 Part of Closes https://linear.app/vercel/issue/NAR-753/
1 parent a43df32 commit 098c0c0

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/trigger_release.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@ on:
2828
default: false
2929
type: boolean
3030

31-
secrets:
32-
RELEASE_BOT_GITHUB_TOKEN:
33-
required: true
34-
3531
name: Trigger Release
3632

3733
env:
@@ -62,6 +58,9 @@ jobs:
6258

6359
- name: Check token
6460
run: gh auth status
61+
# This sometimes fails for unknown reasons.
62+
# Ignoring failures for now to check if a failure truly implies a failed publish.
63+
continue-on-error: true
6564
env:
6665
GITHUB_TOKEN: ${{ secrets.RELEASE_BOT_GITHUB_TOKEN }}
6766

0 commit comments

Comments
 (0)