Skip to content

Commit

Permalink
Check access token early during release (#66133)
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed May 23, 2024
1 parent 99fff19 commit e62bc11
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/trigger_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,13 @@ jobs:
- name: Clone Next.js repository
run: git clone https://github.com/vercel/next.js.git --depth=25 --single-branch --branch ${GITHUB_REF_NAME:-canary} .

- 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 }}

- name: Get commit of the latest tag
run: echo "LATEST_TAG_COMMIT=$(git rev-list -n 1 $(git describe --tags --abbrev=0))" >> $GITHUB_ENV

Expand Down

0 comments on commit e62bc11

Please sign in to comment.