Backport checkout validation

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Francesco Renzi
2026-12-01 10:47:26 +01:00
parent 0717577d45
commit 377bd7fd07
5 changed files with 220 additions and 15 deletions

View File

@@ -14,6 +14,8 @@ When Git 2.18 or higher is not in your PATH, falls back to the REST API to downl
# What's new
- Verifies explicit SHA pins in fork pull request `workflow_run` workflows against trusted workflow history
- The checkout token requires `contents: read`
- Improved performance
- Fetches only a single commit by default
- Script authenticated git commands