z0al / dependent-issues

πŸ“¦ A GitHub Action for marking issues as dependent on another

Home Page:https://github.com/marketplace/actions/dependent-issues

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Job aborts with "Error: Resource not accessible by integration"

ulope opened this issue Β· comments

We've just added this to our repo but unfortunately it doesn't seem to work.

The "Checking #PR" step aborts with Error: Resource not accessible by integration
See: https://github.com/raiden-network/raiden/runs/1486971356?check_suite_focus=true

Looks like this is a known issue with github actions and forked PRs.
Apparently using pull_request_target instead of pull_request solves the problem: https://github.blog/2020-08-03-github-actions-improvements-for-fork-and-pull-request-workflows/#improvements-for-public-repository-forks

Will try and report back.

Ok this fixed the issue.
So maybe changing the documentation to use the pull_request_target trigger would make sense.

commented

Thanks for investigating this @ulope. I will read more about this in the morning and update the docs accordingly πŸ‘

Looks like this is a known issue with github actions and forked PRs.

That's correct. I was not aware of pull_request_target. Thanks for bringing that to my attention.

commented

You are right. I updated the docs accordingly.

πŸŽ‰ This issue has been resolved in version 1.0.5 πŸŽ‰

The release is available on GitHub release

Your semantic-release bot πŸ“¦πŸš€