Skip to content

fix: use workflow token for PR auto-labeling - #593

Merged
soloio-bulldozer[bot] merged 3 commits into
mainfrom
chandler/githubtoken
Sep 10, 2026
Merged

soloio-bulldozer[bot] merged 3 commits into
mainfrom
chandler/githubtoken

Conversation

@chandler-solo

Copy link
Copy Markdown
Contributor

The PR auto-labeling workflow referenced an unavailable personal access token, leaving GITHUB_TOKEN empty and causing the labeling action to fail.

Use the GitHub-provided workflow token with least-privilege issues: write permission. Remove the unnecessary checkout step and add a non-user-facing changelog entry.

Tests:

  • actionlint .github/workflows/add-pr-label.yaml
  • YAML parsing
  • git diff --check

The PR auto-labeling workflow referenced an unavailable personal access
token, leaving GITHUB_TOKEN empty and causing the labeling action to fail.

Use the GitHub-provided workflow token with least-privilege issues: write
permission. Remove the unnecessary checkout step and add a non-user-facing
changelog entry.

Tests:
- actionlint .github/workflows/add-pr-label.yaml
- YAML parsing
- git diff --check

Signed-off-by: David L. Chandler <david.chandler@solo.io>
Signed-off-by: David L. Chandler <david.chandler@solo.io>
Signed-off-by: David L. Chandler <david.chandler@solo.io>
@soloio-bulldozer
soloio-bulldozer Bot merged commit 3813d8f into main Sep 10, 2026
4 checks passed
@soloio-bulldozer
soloio-bulldozer Bot deleted the chandler/githubtoken branch September 10, 2026 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants