Unverified Commit 098c0c0f authored by Sebastian "Sebbie" Silbermann's avatar Sebastian "Sebbie" Silbermann Committed by GitHub

[backport][ci] Make gh auth status optional when triggering a release (#89100)

Backports https://github.com/vercel/next.js/pull/89098
Part of Closes https://linear.app/vercel/issue/NAR-753/
parent a43df327
...@@ -28,10 +28,6 @@ on: ...@@ -28,10 +28,6 @@ on:
default: false default: false
type: boolean type: boolean
secrets:
RELEASE_BOT_GITHUB_TOKEN:
required: true
name: Trigger Release name: Trigger Release
env: env:
...@@ -62,6 +58,9 @@ jobs: ...@@ -62,6 +58,9 @@ jobs:
- name: Check token - name: Check token
run: gh auth status run: gh auth status
# This sometimes fails for unknown reasons.
# Ignoring failures for now to check if a failure truly implies a failed publish.
continue-on-error: true
env: env:
GITHUB_TOKEN: ${{ secrets.RELEASE_BOT_GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.RELEASE_BOT_GITHUB_TOKEN }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment