servo/.github
Mukilan Thiyagarajan b243457ccc
ci: fix security issue in try job workflow (#32724)
This [issue][1] was reported by GitHub user @RedYetiDev via the Security
Advisory reporting mechanism on GitHub. The fix is also based on their
proposed solution.

The issue is that `refs/pull/{pr_number}/head` points to the latest
commit of a PR and so it could be different than the commit that was
reviewed when the try label was applied. The fix is to use the exact commit
sha at the point when the try job is triggered, which is available in
the `github` context as  `github.event.pull_request.head.sha`.

[1]: https://github.com/servo/servo/security/advisories/GHSA-fxqr-xgh8-3577

Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
Co-authored-by: Aviv Keller <38299977+RedYetiDev@users.noreply.github.com>
2024-07-08 10:08:23 +00:00
..
ISSUE_TEMPLATE Update new issue URL in SECURITY.md (#31698) 2024-03-15 15:03:49 +00:00
workflows ci: fix security issue in try job workflow (#32724) 2024-07-08 10:08:23 +00:00
CODEOWNERS add codeowners file, set gterzian as owner for components/script (#32568) 2024-06-20 08:37:58 +00:00
dependabot.yml Add more crates to egui Dependabot group (#32711) 2024-07-06 05:51:31 +00:00
FUNDING.yml Update FUNDING.yml (#31633) 2024-03-13 02:40:54 +00:00