Skip to content
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

🐛 Bug: post-release.yml action is failing for permission reasons #11

Open
3 tasks done
johnnyreilly opened this issue Dec 7, 2024 · 1 comment
Open
3 tasks done
Labels
good first issue Good for newcomers, please hop on! 🙌 status: accepting prs Please, send a pull request to resolve this! 🙏 type: bug Something isn't working :( 🐛

Comments

@johnnyreilly
Copy link
Contributor

johnnyreilly commented Dec 7, 2024

Bug Report Checklist

  • I have tried restarting my IDE and the issue persists.
  • I have pulled the latest main branch of the repository.
  • I have searched for related issues and found none that matched my issue.

Expected

The post-release action to succeed.

Actual

The post-release action is failing with the failure HttpError: Resource not accessible by integration

Consider https://github.com/investec/home-run/actions/workflows/post-release.yml - you can see that after the initial release, the post-release action failed.

screenshot of github workflows

Additional Info

It seems that the problem is permissions. See the context on this thread: apexskier/github-release-commenter#545

And also here: JoshuaKGoldberg/create-typescript-app#1682 (comment)

The remedy is updating the post-release.yml file with the following:

permissions:
  issues: write
  pull-requests: write

You can see this being attempted successfully here and resolving the issue: https://github.com/johnnyreilly/azdo-npm-auth/actions/runs/12211680069/job/34069255562 - this is a result of this PR johnnyreilly/azdo-npm-auth#19

screenshot of github workflows
@johnnyreilly johnnyreilly added the type: bug Something isn't working :( 🐛 label Dec 7, 2024
Copy link

github-actions bot commented Dec 7, 2024

Uh oh! @johnnyreilly, the image you shared is missing helpful alt text. Check your issue body.

Alt text is an invisible description that helps screen readers describe images to blind or low-vision users. If you are using markdown to display images, add your alt text inside the brackets of the markdown image.

Learn more about alt text at Basic writing and formatting syntax: images on GitHub Docs.

@johnnyreilly johnnyreilly added status: accepting prs Please, send a pull request to resolve this! 🙏 good first issue Good for newcomers, please hop on! 🙌 labels Dec 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers, please hop on! 🙌 status: accepting prs Please, send a pull request to resolve this! 🙏 type: bug Something isn't working :( 🐛
Projects
None yet
Development

No branches or pull requests

1 participant