Skip to content

Comments

Revert workflow permissions after Copilot assignment testing#250

Merged
mrunalhirve128 merged 1 commit intomainfrom
users/mrunalhirve/revert-workflow-permissions
Feb 12, 2026
Merged

Revert workflow permissions after Copilot assignment testing#250
mrunalhirve128 merged 1 commit intomainfrom
users/mrunalhirve/revert-workflow-permissions

Conversation

@mrunalhirve128
Copy link
Contributor

Reverts contents:write permission - testing confirmed GITHUB_TOKEN cannot assign Copilot regardless of workflow permissions.

@mrunalhirve128 mrunalhirve128 requested a review from a team as a code owner February 11, 2026 22:50
Copilot AI review requested due to automatic review settings February 11, 2026 22:50
@mrunalhirve128 mrunalhirve128 requested a review from a team as a code owner February 11, 2026 22:50
@github-actions
Copy link

github-actions bot commented Feb 11, 2026

⚠️ Deprecation Warning: The deny-licenses option is deprecated for possible removal in the next major release. For more information, see issue 997.

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR reverts the workflow permissions for the auto-triage workflow back to minimal required permissions after testing confirmed that GITHUB_TOKEN cannot assign Copilot coding agents regardless of workflow permissions.

Changes:

  • Reverted contents permission from write back to read in the auto-triage workflow
  • Removed unnecessary pull-requests: write and actions: read permissions that were added for testing
  • Updated workflow permission tests to enforce the minimal permission set (contents: read, issues: write)

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.github/workflows/auto-triage-issues.yml Reverted workflow permissions to minimal required set (contents: read, issues: write), removing experimental pull-requests and actions permissions
autoTriage/tests/workflows/test_workflows.py Updated test to assert contents permission must be "read" (not "read" or "write"), removing temporary testing flexibility

@mrunalhirve128 mrunalhirve128 force-pushed the users/mrunalhirve/revert-workflow-permissions branch from a7e7836 to 9e36004 Compare February 11, 2026 22:54
@mrunalhirve128 mrunalhirve128 merged commit 1f69f0d into main Feb 12, 2026
8 checks passed
@mrunalhirve128 mrunalhirve128 deleted the users/mrunalhirve/revert-workflow-permissions branch February 12, 2026 00:24
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.

3 participants