ci(release): skip GitHub relay when GH_MIRROR_TOKEN absent
Relay is on hold until after the rc dress rehearsal — without the secret the step exits cleanly instead of failing the release run. Adding the secret later enables it with no workflow change.
This commit was merged in pull request #123.
This commit is contained in:
@@ -60,6 +60,10 @@ jobs:
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GH_MIRROR_TOKEN }}
|
||||
run: |
|
||||
if [ -z "$GH_TOKEN" ]; then
|
||||
echo "GH_MIRROR_TOKEN not set — skipping GitHub release relay"
|
||||
exit 0
|
||||
fi
|
||||
apk add --no-cache github-cli
|
||||
TAG="${{ github.ref_name }}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user