Skip to content

Drop unneeded issues: write permission from publish workflow#95

Merged
bradymholt merged 1 commit into
mainfrom
claude/gallant-bassi-4f4124
Jul 2, 2026
Merged

Drop unneeded issues: write permission from publish workflow#95
bradymholt merged 1 commit into
mainfrom
claude/gallant-bassi-4f4124

Conversation

@bradymholt

@bradymholt bradymholt commented Jul 2, 2026

Copy link
Copy Markdown
Member

Follow-up to dbertram's feedback on ynab-sdk-python#31. While reviewing the Python publish workflow we confirmed that issues: write isn't needed for the "comment on released PRs" step: issues.createComment keys its permission off the target resource, so commenting on a PR is covered by pull-requests: write alone. We never comment on a real issue in this workflow.

This makes the same cleanup here in the Ruby SDK's publish workflow: drops issues: write and annotates pull-requests: write with why it's needed, matching ynab-sdk-python.

Commenting on a PR via the issues.createComment API keys its permission
off the target resource, so pull-requests: write covers it. Mirrors the
same cleanup made in ynab-sdk-python#31.
@bradymholt bradymholt changed the title Drop unneeded issues: write permission from publish workflow Drop unneeded issues: write permission from publish workflow Jul 2, 2026
@bradymholt bradymholt requested a review from dbertram July 2, 2026 18:56

@dbertram dbertram left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@bradymholt bradymholt merged commit 31f336e into main Jul 2, 2026
3 checks passed
@bradymholt bradymholt deleted the claude/gallant-bassi-4f4124 branch July 2, 2026 20:16
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