Skip to content

Fix agent authorship label workflow permissions - #13

Merged
haasonsaas merged 1 commit into
mainfrom
jonathan/agent-authorship-label-permissions
Apr 28, 2026
Merged

Fix agent authorship label workflow permissions#13
haasonsaas merged 1 commit into
mainfrom
jonathan/agent-authorship-label-permissions

Conversation

@haasonsaas

Copy link
Copy Markdown
Contributor

Summary

Fixes the reusable authorship-label workflow permissions after rollout PRs showed PR label writes require pull-requests: write in addition to issues: write.

Updates the reusable workflow, workflow template, and convention doc snippet together.

Related rollout: evalops/.github#12
Parent convention: evalops/.github#8

Test Plan

  • ruby -c .github/scripts/classify-agent-authorship.rb
  • YAML validation for issue templates/workflows/workflow templates
  • JSON validation for workflow template metadata
  • actionlint .github/workflows/*.yml .github/workflow-templates/*.yml
  • git diff --check

@cursor

cursor Bot commented Apr 28, 2026

Copy link
Copy Markdown

PR Summary

Low Risk
Low risk: only adjusts GitHub Actions permission scopes to match required label-write behavior; no runtime logic changes.

Overview
Updates the agent-authorship labeling workflow/template to request pull-requests: write (instead of read) so it can reliably apply/remove PR labels.

Keeps documentation in profile/AGENT_AUTHORSHIP.md in sync with the new required permissions.

Reviewed by Cursor Bugbot for commit abd61f5. Bugbot is set up for automated code reviews on this repo. Configure here.

@haasonsaas
haasonsaas merged commit 3997e33 into main Apr 28, 2026
4 checks passed
@haasonsaas
haasonsaas deleted the jonathan/agent-authorship-label-permissions branch April 28, 2026 16:49
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.

1 participant