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

HttpError: Resource not accessible by integration #444

Open
Maxim-Mazurok opened this issue Oct 8, 2022 · 2 comments
Open

HttpError: Resource not accessible by integration #444

Maxim-Mazurok opened this issue Oct 8, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@Maxim-Mazurok
Copy link

What happened

Getting this:

Error: HttpError: Resource not accessible by integration
Error: Resource not accessible by integration

What you expected to happen

No error

How to reproduce it

Probably to use dependabot, I think it's because GITHUB_TOKEN is overridden for dependabot PRs and clashes with the one for this action. See https://github.com/Maxim-Mazurok/google-api-typings-generator/actions/runs/3208157302/jobs/5243760286

Environment

Ubuntu
  20.0
  LTS
@Maxim-Mazurok Maxim-Mazurok added the bug Something isn't working label Oct 8, 2022
@Maxim-Mazurok
Copy link
Author

I tried adding github token with all permissions - didn't work, same error.
I solved my problem by not using this action for dependabot because the issue I was trying to work around by doing that was (probably) resolved chdsbd/kodiak#844

Keith-CY added a commit to nervosnetwork/neuron that referenced this issue Apr 23, 2023
The external action is out-of-date on permission management
in github action, so the label action is re-written in github
rest api for maintenance.

Ref: actions-ecosystem/action-add-labels#444
@Keith-CY
Copy link

It should be caused by the permission management of github action, verified with the following code snippet

jobs:
  add-label:
    runs-on: ubuntu-latest
    permissions:
      issues: write
    steps:
...

Ref: https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants