Skip to content

ci!: set pr write perms on release-labels #16380

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 3, 2025

Conversation

ethanndickson
Copy link
Member

@ethanndickson ethanndickson commented Feb 3, 2025

*Not actually a breaking change, I just forgot to change the title before merging...

I'm pretty sure this is the fix, but I can't test it without merging it, as pull_request_target causes the workflow to run using the workflow on main (where the permissions aren't set).

This comment would seem to indicate that pull_request_target with PR write perms does the trick: actions/labeler#136 (comment)

From what I can tell this job has been broken since ~nov '24, which leads me to believe it was the permissions change made that month: https://github.com/coder/coder/actions/runs/11915659159/job/33206435274

@ethanndickson ethanndickson changed the title ci: set pr write perms on release-labels ci!: set pr write perms on release-labels Feb 3, 2025
Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@ethanndickson ethanndickson marked this pull request as ready for review February 3, 2025 07:23
@ethanndickson ethanndickson changed the title ci!: set pr write perms on release-labels ci: set pr write perms on release-labels Feb 3, 2025
@ethanndickson ethanndickson changed the title ci: set pr write perms on release-labels ci!: set pr write perms on release-labels Feb 3, 2025
@ethanndickson ethanndickson changed the title ci!: set pr write perms on release-labels ci: set pr write perms on release-labels Feb 3, 2025
@ethanndickson ethanndickson changed the title ci: set pr write perms on release-labels ci!: set pr write perms on release-labels Feb 3, 2025
@ethanndickson ethanndickson changed the title ci!: set pr write perms on release-labels ci: set pr write perms on release-labels Feb 3, 2025
@ethanndickson ethanndickson changed the title ci: set pr write perms on release-labels ci!: set pr write perms on release-labels Feb 3, 2025
@ethanndickson ethanndickson changed the title ci!: set pr write perms on release-labels ci: set pr write perms on release-labels Feb 3, 2025
@ethanndickson ethanndickson changed the title ci: set pr write perms on release-labels ci!: set pr write perms on release-labels Feb 3, 2025
@ethanndickson ethanndickson force-pushed the ethan/fix-release-labels branch from 9da4f05 to ab8acbe Compare February 3, 2025 07:50
@matifali
Copy link
Member

matifali commented Feb 3, 2025

LGTM

@ethanndickson ethanndickson merged commit 8815b38 into main Feb 3, 2025
33 checks passed
@ethanndickson ethanndickson deleted the ethan/fix-release-labels branch February 3, 2025 09:49
@github-actions github-actions bot locked and limited conversation to collaborators Feb 3, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants