Remove pull_request trigger from add-to-project GitHub action #32
Labels
complexity:easy
Requires minimal background information and effort to accomplish
impact:non-functional
Does not have a functional impact
Since GitHub treats workflows triggered from forks (and Dependabot) as untrusted, they receive a read-only GITHUB_TOKEN and the PRs cannot access any secrets in the repository.
More information:
https://github.blog/changelog/2021-02-19-github-actions-workflows-triggered-by-dependabot-prs-will-run-with-read-only-permissions/
The trigger type could be changed to
pull_request_target
which would grant permission to the secrets but it has security implications as described here: https://securitylab.github.com/research/github-actions-preventing-pwn-requests/In the end, we'll just remove the action for pull requests for now.
The text was updated successfully, but these errors were encountered: