Unverified Commit d739df15 authored by Sebastian Silbermann's avatar Sebastian Silbermann Committed by GitHub

Fail early in release if auth fails with configured gh token (#66171)

`gh auth status` works:
https://github.com/vercel/next.js/actions/runs/9216143946/job/25355841804#step:4:16

We should fail early to hopefully get a better error message if
authentication with the configured token fails.
parent 97c92a24
...@@ -56,8 +56,6 @@ jobs: ...@@ -56,8 +56,6 @@ jobs:
- name: Check token - name: Check token
run: gh auth status run: gh auth status
# For testing purposes. Once we have a succesful run where this step passes, we should error here.
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