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.
This commit is contained in:
Sebastian Silbermann 2024-05-28 23:29:19 +02:00 committed by GitHub
parent 97c92a24f2
commit d739df15d2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -56,8 +56,6 @@ jobs:
- name: Check token
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:
GITHUB_TOKEN: ${{ secrets.RELEASE_BOT_GITHUB_TOKEN }}