Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/prepare-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,15 @@ jobs:
permissions:
contents: write # the release commit and its tag go straight to main
steps:
# An expired or revoked PAT otherwise surfaces as checkout's "Input required and not supplied: token".
- name: Check the release token is set
env:
RELEASE_PAT: ${{ secrets.RELEASE_PAT }}
run: |
if [ -z "$RELEASE_PAT" ]; then
echo "::error::RELEASE_PAT is unset; add it to the release-auth environment"
exit 1
fi
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0 # The next version comes from the tags.
Expand Down
Loading