jayqi / failed-build-issue-action

An action that makes it easy to notify of a failed GitHub Actions workflow via an issue.
MIT License
3 stars 0 forks source link

"Resource not accessible by integration" error #117

Closed nikp123 closed 3 months ago

nikp123 commented 3 months ago

I had a very funny failure, so lets not repeat mistakes if possible. image

nikp123 commented 3 months ago

image ok it seems it might be something else even

jayqi commented 3 months ago

Are you running this on a public repository you're able to link for me to help you debug?

As you mentioned in your follow up, this Action is supposed by default create the issue label for you if it doesn't already exist. This is controlled by the create-label parameter.

nikp123 commented 3 months ago

Are you running this on a public repository you're able to link for me to help you debug?

Yes, actually. https://github.com/nikp123/nur-packages/actions

Here's one of the actions that failed: https://github.com/nikp123/nur-packages/actions/runs/9867435838/job/27247900607

Please tell me what I need to do to help you debug this.

PS: Sorry in advance but I may be slow to respond due to other tasks

jayqi commented 3 months ago

Hi @nikp123,

One thing I would check is whether you have given GitHub Actions workflows the necessary permissions in this repository. I believe that "Read and write permissions" are necessary. You can find this setting in Settings > Actions > General for your repository.

Screenshot 2024-07-11 at 5 17 52 PM

Otherwise, take a look at a look at the suggested steps in this response. In general, this error message seems to be related to GitHub Actions having necessary permissions to perform some task.

nikp123 commented 3 months ago

@jayqi That was it, thank you.

EDIT: Please add this to the README as it won't be completely obvious to people who aren't familiar with GitHub Actions