opnsense-src/.github/workflows
Ahmad Khalifa 8528d7e4f6 github: Fix checklist action
Workflows triggered by the 'pull_request' event can't have write
permissions. With write permissions a malicious pull request can alter
or create a workflow that either leaks the GITHUB_TOKEN with the write
permissions or do malicious things in the workflow itself.

The 'pull_request_target' event on the other hand allows workflows to
run with write permissions but runs on the merge base of the PR, this
way a pull request that alters such a workflow will not have it's code
run until it's merged.

Signed-off-by: Ahmad Khalifa <ahmadkhalifa570@gmail.com>
Reviewed by: imp, emaste
Pull Request: https://github.com/freebsd/freebsd-src/pull/1581
2025-04-28 15:27:29 -06:00
..
checklist.yml github: Fix checklist action 2025-04-28 15:27:29 -06:00
cross-bootstrap-tools.yml Revert "WIP: Cross-build github action on for-main" 2025-04-08 11:59:48 +01:00
style.yml github: limit paths for style workflow 2024-12-05 17:59:51 -07:00