Commit Graph

5 Commits

Author SHA1 Message Date
Francesco Renzi
e38a0d9f52 Ignore a .git suffix when matching checkout repositories
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
2026-12-04 11:10:27 +01:00
Francesco Renzi
a12225cd31 Verify SSH pins against the workflow server
SSH fetch URLs keep only the hostname of github-server-url, so a port or
scheme change no longer skips workflow history verification. Verification
always uses the workflow's API endpoint.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
2026-12-03 18:32:07 +01:00
Francesco Renzi
b1df8e93a6 Scope workflow history verification to the checkout server
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
2026-12-03 18:13:02 +01:00
Francesco Renzi
d2c34fd6af Backport checkout validation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
2026-12-01 10:47:26 +01:00
Aiqiao Yan
c915c33a16 backport allow-unsafe-pr-checkout to v4 (#2502)
* block checking out fork pr for pull_request_target and workflow_run (#2454)

* block checking out fork pr for some events

* address copilot and reviewer feedback

* run prettier formatting

* build

* update urls

* update readme

* update description and url again

* edit url one more time

* update error wording (#2467)
2026-07-07 16:34:51 -04:00