Open thamara opened 2 years ago
I think is because the action is configured to run on pull_request
so secrets are not sent to forked repos, as said here. On PRs coming from own repo seems to work.
It could be changed to pull_request_target so the context comes from the base branch and not forked one
That's a good point, maybe we should try that @thamara
Disabled the action to stop having failed runs on every PR.
Like ochan12 said, seem this was documented in the action repo:
Note: In public repositories this action does not work in pull_request workflows when triggered by forks. Any attempt will be met with the error, Resource not accessible by integration. This is due to token restrictions put in place by GitHub Actions. Private repositories can be configured to enable workflows from forks to run without restriction. See here for further explanation. Alternatively, use the pull_request_target event to comment on pull requests.
In https://github.com/thamara/time-to-leave/pull/828 the Localization action is broken. This action is used to compare if new strings are added or any inconsistency on the localization files.
Run: https://github.com/thamara/time-to-leave/runs/5490690174?check_suite_focus=true