Skip to content

Set GH_TOKEN for preview release label removal step#16829

Merged
matthewp merged 2 commits into
mainfrom
fix-preview-release-gh-token
May 21, 2026
Merged

Set GH_TOKEN for preview release label removal step#16829
matthewp merged 2 commits into
mainfrom
fix-preview-release-gh-token

Conversation

@matthewp

Copy link
Copy Markdown
Contributor

Changes

  • Adds GH_TOKEN to the "Remove Preview Label" step in the preview release workflow. PR ci: harden actions #16810 replaced the actions-ecosystem/action-remove-labels action with a gh CLI call but did not set the token — gh requires GH_TOKEN explicitly, unlike GitHub Actions which inject auth automatically for actions.

Testing

  • No test changes. This is a CI-only fix — the step was failing with exit code 4 on every preview release since ci: harden actions #16810 merged.

Docs

  • No docs needed — internal CI fix.

@changeset-bot

changeset-bot Bot commented May 21, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 9cbf0b6

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions github-actions Bot added the 🚨 action Modifies GitHub Actions label May 21, 2026
Comment thread .github/workflows/preview-release.yml Outdated
Co-authored-by: Felix Schneider <99918022+trueberryless@users.noreply.github.com>
@matthewp matthewp merged commit 0213c3f into main May 21, 2026
24 checks passed
@matthewp matthewp deleted the fix-preview-release-gh-token branch May 21, 2026 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🚨 action Modifies GitHub Actions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants