Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable running workflows from forks (#2498)
The simple `push` event doesn't support pull requests from forks where the author doesn't already have write access to the repository. This adds the default set of events on the `pull_request` event which lets forks run the test suite. In addition, this expands that pattern to our other workflows (`bundle-audit` and `codeql-analysis`), whilst restricting the `push` workflow to only occur on `main` (which should mean re-triggering workflows on merge). This is to stop duplicating the builds when triggered by an actor with write access. https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request https://securitylab.github.com/research/github-actions-preventing-pwn-requests
- Loading branch information