Commit Graph
25 Commits
Author SHA1 Message Date
Francesco RenziandCopilot App 5a9e0139f1 Format checkout tests and regenerate the v2 bundle
Build with Node 12.22.12 and npm 6.14.16 to match the check-dist toolchain.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
2026-12-03 18:16:36 +01:00
Francesco RenziandCopilot App 377bd7fd07 Backport checkout validation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
2026-12-01 10:47:26 +01:00
Aiqiao Yan 0717577d45 backport fixes to releases-v2 (#2526)
* backport fixes to releases-v2

* fix dist/index.js
2026-07-16 15:43:54 -04:00
Aiqiao Yan 262cdb5f1c backport allow-unsafe-pr-checkout to v2 (#2504)
* 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)

* bump upload-artifact

* rebuild
2026-07-07 16:34:16 -04:00
Tingluo Huang f67ee5d622 Add set-safe-directory input to allow customers to take control. (#770) (#776)
* Add set-safe-directory input to allow customers to take control.
2022-04-21 10:12:11 -04:00
Thomas Boop f25a3a9f25 Safe Directory v2 update (#764)
* set safe directory when running checkout
2022-04-14 12:12:00 -04:00
eric sciple ec3a7ce113 set insteadOf url for org-id (#621) 2021-11-01 11:43:18 -05:00
eric sciple eb8a193c1d update dev dependencies and react to new linting rules (#611) 2021-10-19 09:52:57 -05:00
Thomas Boop c952173edf Swap to Environment Files (#360) 2020-09-30 11:41:09 -04:00
eric sciple 1433f62caa update default branch (#305) 2020-07-14 09:23:30 -04:00
eric sciple fb6f360df2 fix default branch for .wiki and when using ssh (#284) 2020-06-18 10:20:33 -04:00
eric sciple 00a3be8934 determine default branch (#278) 2020-06-16 13:41:01 -04:00
eric sciple 453ee27fca update troubleshooting instructions to include 'npm run format' 2020-05-31 17:48:51 -04:00
Daniel Hwang 65865e15a1 build because all is no more (#264) 2020-05-31 17:46:53 -04:00
eric sciple e52d022eb5 Fetch all history for all tags and branches when fetch-depth=0 (#258) 2020-05-27 09:54:28 -04:00
eric sciple 9a3a9ade82 persist core.sshCommand for submodules (#184)
* persist core.sshCommand for submodules

* update verbiage; add comments

* fail when submodules or ssh-key and fallback to REST API
2020-03-12 11:42:38 -04:00
eric sciple b2e6b7ed13 add ssh support (#163) 2020-03-11 15:55:17 -04:00
eric sciple 422dc45671 add support for submodules (#173) 2020-03-05 14:21:59 -05:00
eric sciple f219062370 more unit tests and corresponding refactoring (#174) 2020-03-02 11:33:30 -05:00
eric sciple 61fd8fd0c7 switch to spyOn for mocks (#152) 2020-02-13 13:25:46 -05:00
eric sciple f90c7b395d follow proxy settings (#144) 2020-01-27 10:21:50 -05:00
eric sciple 090d9c9dfd fix ref for pr closed event when a pr is merged (#141) 2020-01-21 14:17:04 -05:00
eric sciple c170eefc26 add input persist-credentials (#107) 2019-12-12 13:49:26 -05:00
eric sciple a572f640b0 fallback to REST API to download repo (#104) 2019-12-12 13:16:16 -05:00
eric sciple e347bba93b Convert checkout to a regular action (#70) 2019-12-03 10:28:59 -05:00