Skip to content

Add explicit permissions to issuelabeler workflow - #1233

Merged
Carter Tinney (cartertinney) merged 4 commits into
mainfrom
copilot/fix-code-scanning-alerts-6
Aug 21, 2026
Merged

Add explicit permissions to issuelabeler workflow#1233
Carter Tinney (cartertinney) merged 4 commits into
mainfrom
copilot/fix-code-scanning-alerts-6

Conversation

Copilot AI commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

The issuelabeler.yml workflow had no permissions block, leaving GITHUB_TOKEN with repository/org-level defaults — broader write access than the workflow requires.

Changes

  • .github/workflows/issuelabeler.yml: Added top-level permissions block scoped to issues: write only, satisfying least-privilege for the issue-labeling action.
permissions:
  issues: write

Copilot AI changed the title [WIP] Fix code scanning alert #6 Add explicit permissions to issuelabeler workflow Jul 22, 2026
@cartertinney
Carter Tinney (cartertinney) marked this pull request as ready for review August 21, 2026 18:20

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Scopes the issue-labeling workflow’s GITHUB_TOKEN to least-privilege access.

Changes:

  • Grants only issues: write permission.
  • Removes reliance on repository-level default permissions.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@cartertinney
Carter Tinney (cartertinney) merged commit d903c02 into main Aug 21, 2026
17 checks passed
@cartertinney
Carter Tinney (cartertinney) deleted the copilot/fix-code-scanning-alerts-6 branch August 21, 2026 20:05
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.

4 participants