Repository navigation
Inject GitHub host to be able to clone from another GitHub instance - #922
Merged
Merged
Conversation
…o differ from the Actions workflow host
peter-murray
force-pushed
the
server-url-injection
branch
from
September 10, 2022 11:29
8e2ca23 to
385d3aa
Compare
| workflowOrganizationId: 123456, | ||
| setSafeDirectory: true | ||
| setSafeDirectory: true, | ||
| githubServerUrl: undefined |
Member
There was a problem hiding this comment.
can we have a test with githubServerUrl set to some URL?
Contributor
Author
There was a problem hiding this comment.
Added tests to the branch and refactored the one that was there to use common code for that test
|
|
||
| export type OctokitOptions = { | ||
| baseUrl?: string | ||
| userAgent?: string |
Member
There was a problem hiding this comment.
anything set this userAgent?
Contributor
Author
There was a problem hiding this comment.
Yes the ref-helper.ts injects this currently, https://github.com/peter-murray/checkout/blob/server-url-injection/src/ref-helper.ts#L250
Link-
requested changes
Sep 16, 2022
Member
There was a problem hiding this comment.
@peter-murray can you please run npm run format and push the changes?
Otherwise, I don't see any glaring issues with this change.
Link-
requested changes
Sep 19, 2022
peter-murray
added a commit
to peter-murray/checkout
that referenced
this pull request
Sep 20, 2022
peter-murray
force-pushed
the
server-url-injection
branch
from
September 20, 2022 07:45
3e002a4 to
0ff8af6
Compare
Link-
approved these changes
Sep 20, 2022
TingluoHuang
approved these changes
Sep 26, 2022
1 task
renovate Bot
added a commit
to cigaleapp/infrastructure
that referenced
this pull request
Oct 27, 2026
##### [vv7.0.1](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v701) - Skip running unsafe pr check if input is default by [@aiqiaoy](https://github.com/aiqiaoy) in [#2518](actions/checkout#2518) - Trim only ascii whitespace for branch by [@aiqiaoy](https://github.com/aiqiaoy) in [#2521](actions/checkout#2521) - Escape values passed to --unset by [@aiqiaoy](https://github.com/aiqiaoy) in [#2530](actions/checkout#2530) - Various dependency updates ##### [vv7.0.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v700) - Block checking out fork PR for pull_request_target and workflow_run by [@aiqiaoy](https://github.com/aiqiaoy) in [#2454](actions/checkout#2454) - Various dependency updates ##### [vv6.1.0](https://github.com/actions/checkout/releases/tag/v6.1.0) ##### What's Changed - **\[BREAKING]** backport `allow-unsafe-pr-checkout` to v6 by [@aiqiaoy](https://github.com/aiqiaoy) in [#2500](actions/checkout#2500) - backport fixes to releases-v6 by [@aiqiaoy](https://github.com/aiqiaoy) in [#2527](actions/checkout#2527) <https://github.blog/changelog/2026-06-18-safer-pull_request_target-defaults-for-github-actions-checkout/> for more details about this breaking change **Full Changelog**: <actions/checkout@v6.0.3...v6.1.0> ##### [vv6.0.3](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v603) - Fix checkout init for SHA-256 repositories by [@yaananth](https://github.com/yaananth) in [#2439](actions/checkout#2439) - fix: expand merge commit SHA regex and add SHA-256 test cases by [@yaananth](https://github.com/yaananth) in [#2414](actions/checkout#2414) ##### [vv6.0.2](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v602) - Fix tag handling: preserve annotations and explicit fetch-tags by [@ericsciple](https://github.com/ericsciple) in [#2356](actions/checkout#2356) ##### [vv6.0.1](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v601) - Add worktree support for persist-credentials includeIf by [@ericsciple](https://github.com/ericsciple) in [#2327](actions/checkout#2327) ##### [vv6.0.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v600) - Persist creds to a separate file by [@ericsciple](https://github.com/ericsciple) in [#2286](actions/checkout#2286) - Update README to include Node.js 24 support details and requirements by [@salmanmkc](https://github.com/salmanmkc) in [#2248](actions/checkout#2248) ##### [vv5.1.0](https://github.com/actions/checkout/releases/tag/v5.1.0) ##### What's Changed - **\[BREAKING]** backport `allow-unsafe-pr-checkout` to v5 by [@aiqiaoy](https://github.com/aiqiaoy) in [#2501](actions/checkout#2501) - backport fixes to releases-v5 by [@aiqiaoy](https://github.com/aiqiaoy) in [#2523](actions/checkout#2523) <https://github.blog/changelog/2026-06-18-safer-pull_request_target-defaults-for-github-actions-checkout/> for more details about this breaking change **Full Changelog**: <actions/checkout@v5.0.1...v5.1.0> ##### [vv5.0.1](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v501) - Port v6 cleanup to v5 by [@ericsciple](https://github.com/ericsciple) in [#2301](actions/checkout#2301) ##### [vv5.0.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v500) - Update actions checkout to use node 24 by [@salmanmkc](https://github.com/salmanmkc) in [#2226](actions/checkout#2226) ##### [vv4.4.0](https://github.com/actions/checkout/releases/tag/v4.4.0) #### What's Changed - **\[BREAKING]** backport `allow-unsafe-pr-checkout` to v4 by [@aiqiaoy](https://github.com/aiqiaoy) in [#2502](actions/checkout#2502) - backport fixes to releases-v4 by [@aiqiaoy](https://github.com/aiqiaoy) in [#2524](actions/checkout#2524) <https://github.blog/changelog/2026-06-18-safer-pull_request_target-defaults-for-github-actions-checkout/> for more details about this breaking change **Full Changelog**: <actions/checkout@v4.3.1...v4.4.0> ##### [vv4.3.1](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v431) - Port v6 cleanup to v4 by [@ericsciple](https://github.com/ericsciple) in [#2305](actions/checkout#2305) ##### [vv4.3.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v430) - docs: update README.md by [@motss](https://github.com/motss) in [#1971](actions/checkout#1971) - Add internal repos for checking out multiple repositories by [@mouismail](https://github.com/mouismail) in [#1977](actions/checkout#1977) - Documentation update - add recommended permissions to Readme by [@benwells](https://github.com/benwells) in [#2043](actions/checkout#2043) - Adjust positioning of user email note and permissions heading by [@joshmgross](https://github.com/joshmgross) in [#2044](actions/checkout#2044) - Update README.md by [@nebuk89](https://github.com/nebuk89) in [#2194](actions/checkout#2194) - Update CODEOWNERS for actions by [@TingluoHuang](https://github.com/TingluoHuang) in [#2224](actions/checkout#2224) - Update package dependencies by [@salmanmkc](https://github.com/salmanmkc) in [#2236](actions/checkout#2236) ##### [vv4.2.2](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v422) - `url-helper.ts` now leverages well-known environment variables by [@jww3](https://github.com/jww3) in [#1941](actions/checkout#1941) - Expand unit test coverage for `isGhes` by [@jww3](https://github.com/jww3) in [#1946](actions/checkout#1946) ##### [vv4.2.1](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v421) - Check out other refs/\* by commit if provided, fall back to ref by [@orhantoy](https://github.com/orhantoy) in [#1924](actions/checkout#1924) ##### [vv4.2.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v420) - Add Ref and Commit outputs by [@lucacome](https://github.com/lucacome) in [#1180](actions/checkout#1180) - Dependency updates by [@dependabot-](https://github.com/dependabot-) [#1777](actions/checkout#1777), [#1872](actions/checkout#1872) ##### [vv4.1.7](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v417) - Bump the minor-npm-dependencies group across 1 directory with 4 updates by [@dependabot](https://github.com/dependabot) in [#1739](actions/checkout#1739) - Bump actions/checkout from 3 to 4 by [@dependabot](https://github.com/dependabot) in [#1697](actions/checkout#1697) - Check out other refs/\* by commit by [@orhantoy](https://github.com/orhantoy) in [#1774](actions/checkout#1774) - Pin actions/checkout's own workflows to a known, good, stable version. by [@jww3](https://github.com/jww3) in [#1776](actions/checkout#1776) ##### [vv4.1.6](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v416) - Check platform to set archive extension appropriately by [@cory-miller](https://github.com/cory-miller) in [#1732](actions/checkout#1732) ##### [vv4.1.5](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v415) - Update NPM dependencies by [@cory-miller](https://github.com/cory-miller) in [#1703](actions/checkout#1703) - Bump github/codeql-action from 2 to 3 by [@dependabot](https://github.com/dependabot) in [#1694](actions/checkout#1694) - Bump actions/setup-node from 1 to 4 by [@dependabot](https://github.com/dependabot) in [#1696](actions/checkout#1696) - Bump actions/upload-artifact from 2 to 4 by [@dependabot](https://github.com/dependabot) in [#1695](actions/checkout#1695) - README: Suggest `user.email` to be `41898282+github-actions[bot]@users.noreply.github.com` by [@cory-miller](https://github.com/cory-miller) in [#1707](actions/checkout#1707) ##### [vv4.1.4](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v414) - Disable `extensions.worktreeConfig` when disabling `sparse-checkout` by [@jww3](https://github.com/jww3) in [#1692](actions/checkout#1692) - Add dependabot config by [@cory-miller](https://github.com/cory-miller) in [#1688](actions/checkout#1688) - Bump the minor-actions-dependencies group with 2 updates by [@dependabot](https://github.com/dependabot) in [#1693](actions/checkout#1693) - Bump word-wrap from 1.2.3 to 1.2.5 by [@dependabot](https://github.com/dependabot) in [#1643](actions/checkout#1643) ##### [vv4.1.3](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v413) - Check git version before attempting to disable `sparse-checkout` by [@jww3](https://github.com/jww3) in [#1656](actions/checkout#1656) - Add SSH user parameter by [@cory-miller](https://github.com/cory-miller) in [#1685](actions/checkout#1685) - Update `actions/checkout` version in `update-main-version.yml` by [@jww3](https://github.com/jww3) in [#1650](actions/checkout#1650) ##### [vv4.1.2](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v412) - Fix: Disable sparse checkout whenever `sparse-checkout` option is not present [@dscho](https://github.com/dscho) in [#1598](actions/checkout#1598) ##### [vv4.1.1](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v411) - Correct link to GitHub Docs by [@peterbe](https://github.com/peterbe) in [#1511](actions/checkout#1511) - Link to release page from what's new section by [@cory-miller](https://github.com/cory-miller) in [#1514](actions/checkout#1514) ##### [vv4.1.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v410) - [Add support for partial checkout filters](actions/checkout#1396) ##### [vv4.0.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v400) - [Support fetching without the --progress option](actions/checkout#1067) - [Update to node20](actions/checkout#1436) ##### [vv3.7.0](https://github.com/actions/checkout/releases/tag/v3.7.0) ##### What's Changed - **\[BREAKING]** backport `allow-unsafe-pr-checkout` to v3 by [@aiqiaoy](https://github.com/aiqiaoy) in [#2503](actions/checkout#2503) - backport fixes to releases-v3 by [@aiqiaoy](https://github.com/aiqiaoy) in [#2525](actions/checkout#2525) <https://github.blog/changelog/2026-06-18-safer-pull_request_target-defaults-for-github-actions-checkout/> for more details about this breaking change **Full Changelog**: <actions/checkout@v3.6.0...v3.7.0> ##### [vv3.6.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v360) - [Fix: Mark test scripts with Bash'isms to be run via Bash](actions/checkout#1377) - [Add option to fetch tags even if fetch-depth > 0](actions/checkout#579) ##### [vv3.5.3](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v353) - [Fix: Checkout fail in self-hosted runners when faulty submodule are checked-in](actions/checkout#1196) - [Fix typos found by codespell](actions/checkout#1287) - [Add support for sparse checkouts](actions/checkout#1369) ##### [vv3.5.2](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v352) - [Fix api endpoint for GHES](actions/checkout#1289) ##### [vv3.5.1](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v351) - [Fix slow checkout on Windows](actions/checkout#1246) ##### [vv3.5.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v350) - [Add new public key for known_hosts](actions/checkout#1237) ##### [vv3.4.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v340) - [Upgrade codeql actions to v2](actions/checkout#1209) - [Upgrade dependencies](actions/checkout#1210) - [Upgrade @actions/io](actions/checkout#1225) ##### [vv3.3.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v330) - [Implement branch list using callbacks from exec function](actions/checkout#1045) - [Add in explicit reference to private checkout options](actions/checkout#1050) - [Fix comment typos (that got added in #770)](actions/checkout#1057) ##### [vv3.2.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v320) - [Add GitHub Action to perform release](actions/checkout#942) - [Fix status badge](actions/checkout#967) - [Replace datadog/squid with ubuntu/squid Docker image](actions/checkout#1002) - [Wrap pipeline commands for submoduleForeach in quotes](actions/checkout#964) - [Update @actions/io to 1.1.2](actions/checkout#1029) - [Upgrading version to 3.2.0](actions/checkout#1039) ##### [vv3.1.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v310) - [Use @actions/core `saveState` and `getState`](actions/checkout#939) - [Add `github-server-url` input](actions/checkout#922) ##### [vv3.0.2](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v302) - [Add input `set-safe-directory`](actions/checkout#770) ##### [vv3.0.1](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v301) - [Fixed an issue where checkout failed to run in container jobs due to the new git setting `safe.directory`](actions/checkout#762) - [Bumped various npm package versions](actions/checkout#744)
gwennlbh
pushed a commit
to cigaleapp/infrastructure
that referenced
this pull request
Oct 27, 2026
##### [vv7.0.1](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v701) - Skip running unsafe pr check if input is default by [@aiqiaoy](https://github.com/aiqiaoy) in [#2518](actions/checkout#2518) - Trim only ascii whitespace for branch by [@aiqiaoy](https://github.com/aiqiaoy) in [#2521](actions/checkout#2521) - Escape values passed to --unset by [@aiqiaoy](https://github.com/aiqiaoy) in [#2530](actions/checkout#2530) - Various dependency updates ##### [vv7.0.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v700) - Block checking out fork PR for pull_request_target and workflow_run by [@aiqiaoy](https://github.com/aiqiaoy) in [#2454](actions/checkout#2454) - Various dependency updates ##### [vv6.1.0](https://github.com/actions/checkout/releases/tag/v6.1.0) ##### What's Changed - **\[BREAKING]** backport `allow-unsafe-pr-checkout` to v6 by [@aiqiaoy](https://github.com/aiqiaoy) in [#2500](actions/checkout#2500) - backport fixes to releases-v6 by [@aiqiaoy](https://github.com/aiqiaoy) in [#2527](actions/checkout#2527) <https://github.blog/changelog/2026-06-18-safer-pull_request_target-defaults-for-github-actions-checkout/> for more details about this breaking change **Full Changelog**: <actions/checkout@v6.0.3...v6.1.0> ##### [vv6.0.3](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v603) - Fix checkout init for SHA-256 repositories by [@yaananth](https://github.com/yaananth) in [#2439](actions/checkout#2439) - fix: expand merge commit SHA regex and add SHA-256 test cases by [@yaananth](https://github.com/yaananth) in [#2414](actions/checkout#2414) ##### [vv6.0.2](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v602) - Fix tag handling: preserve annotations and explicit fetch-tags by [@ericsciple](https://github.com/ericsciple) in [#2356](actions/checkout#2356) ##### [vv6.0.1](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v601) - Add worktree support for persist-credentials includeIf by [@ericsciple](https://github.com/ericsciple) in [#2327](actions/checkout#2327) ##### [vv6.0.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v600) - Persist creds to a separate file by [@ericsciple](https://github.com/ericsciple) in [#2286](actions/checkout#2286) - Update README to include Node.js 24 support details and requirements by [@salmanmkc](https://github.com/salmanmkc) in [#2248](actions/checkout#2248) ##### [vv5.1.0](https://github.com/actions/checkout/releases/tag/v5.1.0) ##### What's Changed - **\[BREAKING]** backport `allow-unsafe-pr-checkout` to v5 by [@aiqiaoy](https://github.com/aiqiaoy) in [#2501](actions/checkout#2501) - backport fixes to releases-v5 by [@aiqiaoy](https://github.com/aiqiaoy) in [#2523](actions/checkout#2523) <https://github.blog/changelog/2026-06-18-safer-pull_request_target-defaults-for-github-actions-checkout/> for more details about this breaking change **Full Changelog**: <actions/checkout@v5.0.1...v5.1.0> ##### [vv5.0.1](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v501) - Port v6 cleanup to v5 by [@ericsciple](https://github.com/ericsciple) in [#2301](actions/checkout#2301) ##### [vv5.0.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v500) - Update actions checkout to use node 24 by [@salmanmkc](https://github.com/salmanmkc) in [#2226](actions/checkout#2226) ##### [vv4.4.0](https://github.com/actions/checkout/releases/tag/v4.4.0) #### What's Changed - **\[BREAKING]** backport `allow-unsafe-pr-checkout` to v4 by [@aiqiaoy](https://github.com/aiqiaoy) in [#2502](actions/checkout#2502) - backport fixes to releases-v4 by [@aiqiaoy](https://github.com/aiqiaoy) in [#2524](actions/checkout#2524) <https://github.blog/changelog/2026-06-18-safer-pull_request_target-defaults-for-github-actions-checkout/> for more details about this breaking change **Full Changelog**: <actions/checkout@v4.3.1...v4.4.0> ##### [vv4.3.1](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v431) - Port v6 cleanup to v4 by [@ericsciple](https://github.com/ericsciple) in [#2305](actions/checkout#2305) ##### [vv4.3.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v430) - docs: update README.md by [@motss](https://github.com/motss) in [#1971](actions/checkout#1971) - Add internal repos for checking out multiple repositories by [@mouismail](https://github.com/mouismail) in [#1977](actions/checkout#1977) - Documentation update - add recommended permissions to Readme by [@benwells](https://github.com/benwells) in [#2043](actions/checkout#2043) - Adjust positioning of user email note and permissions heading by [@joshmgross](https://github.com/joshmgross) in [#2044](actions/checkout#2044) - Update README.md by [@nebuk89](https://github.com/nebuk89) in [#2194](actions/checkout#2194) - Update CODEOWNERS for actions by [@TingluoHuang](https://github.com/TingluoHuang) in [#2224](actions/checkout#2224) - Update package dependencies by [@salmanmkc](https://github.com/salmanmkc) in [#2236](actions/checkout#2236) ##### [vv4.2.2](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v422) - `url-helper.ts` now leverages well-known environment variables by [@jww3](https://github.com/jww3) in [#1941](actions/checkout#1941) - Expand unit test coverage for `isGhes` by [@jww3](https://github.com/jww3) in [#1946](actions/checkout#1946) ##### [vv4.2.1](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v421) - Check out other refs/\* by commit if provided, fall back to ref by [@orhantoy](https://github.com/orhantoy) in [#1924](actions/checkout#1924) ##### [vv4.2.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v420) - Add Ref and Commit outputs by [@lucacome](https://github.com/lucacome) in [#1180](actions/checkout#1180) - Dependency updates by [@dependabot-](https://github.com/dependabot-) [#1777](actions/checkout#1777), [#1872](actions/checkout#1872) ##### [vv4.1.7](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v417) - Bump the minor-npm-dependencies group across 1 directory with 4 updates by [@dependabot](https://github.com/dependabot) in [#1739](actions/checkout#1739) - Bump actions/checkout from 3 to 4 by [@dependabot](https://github.com/dependabot) in [#1697](actions/checkout#1697) - Check out other refs/\* by commit by [@orhantoy](https://github.com/orhantoy) in [#1774](actions/checkout#1774) - Pin actions/checkout's own workflows to a known, good, stable version. by [@jww3](https://github.com/jww3) in [#1776](actions/checkout#1776) ##### [vv4.1.6](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v416) - Check platform to set archive extension appropriately by [@cory-miller](https://github.com/cory-miller) in [#1732](actions/checkout#1732) ##### [vv4.1.5](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v415) - Update NPM dependencies by [@cory-miller](https://github.com/cory-miller) in [#1703](actions/checkout#1703) - Bump github/codeql-action from 2 to 3 by [@dependabot](https://github.com/dependabot) in [#1694](actions/checkout#1694) - Bump actions/setup-node from 1 to 4 by [@dependabot](https://github.com/dependabot) in [#1696](actions/checkout#1696) - Bump actions/upload-artifact from 2 to 4 by [@dependabot](https://github.com/dependabot) in [#1695](actions/checkout#1695) - README: Suggest `user.email` to be `41898282+github-actions[bot]@users.noreply.github.com` by [@cory-miller](https://github.com/cory-miller) in [#1707](actions/checkout#1707) ##### [vv4.1.4](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v414) - Disable `extensions.worktreeConfig` when disabling `sparse-checkout` by [@jww3](https://github.com/jww3) in [#1692](actions/checkout#1692) - Add dependabot config by [@cory-miller](https://github.com/cory-miller) in [#1688](actions/checkout#1688) - Bump the minor-actions-dependencies group with 2 updates by [@dependabot](https://github.com/dependabot) in [#1693](actions/checkout#1693) - Bump word-wrap from 1.2.3 to 1.2.5 by [@dependabot](https://github.com/dependabot) in [#1643](actions/checkout#1643) ##### [vv4.1.3](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v413) - Check git version before attempting to disable `sparse-checkout` by [@jww3](https://github.com/jww3) in [#1656](actions/checkout#1656) - Add SSH user parameter by [@cory-miller](https://github.com/cory-miller) in [#1685](actions/checkout#1685) - Update `actions/checkout` version in `update-main-version.yml` by [@jww3](https://github.com/jww3) in [#1650](actions/checkout#1650) ##### [vv4.1.2](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v412) - Fix: Disable sparse checkout whenever `sparse-checkout` option is not present [@dscho](https://github.com/dscho) in [#1598](actions/checkout#1598) ##### [vv4.1.1](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v411) - Correct link to GitHub Docs by [@peterbe](https://github.com/peterbe) in [#1511](actions/checkout#1511) - Link to release page from what's new section by [@cory-miller](https://github.com/cory-miller) in [#1514](actions/checkout#1514) ##### [vv4.1.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v410) - [Add support for partial checkout filters](actions/checkout#1396) ##### [vv4.0.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v400) - [Support fetching without the --progress option](actions/checkout#1067) - [Update to node20](actions/checkout#1436) ##### [vv3.7.0](https://github.com/actions/checkout/releases/tag/v3.7.0) ##### What's Changed - **\[BREAKING]** backport `allow-unsafe-pr-checkout` to v3 by [@aiqiaoy](https://github.com/aiqiaoy) in [#2503](actions/checkout#2503) - backport fixes to releases-v3 by [@aiqiaoy](https://github.com/aiqiaoy) in [#2525](actions/checkout#2525) <https://github.blog/changelog/2026-06-18-safer-pull_request_target-defaults-for-github-actions-checkout/> for more details about this breaking change **Full Changelog**: <actions/checkout@v3.6.0...v3.7.0> ##### [vv3.6.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v360) - [Fix: Mark test scripts with Bash'isms to be run via Bash](actions/checkout#1377) - [Add option to fetch tags even if fetch-depth > 0](actions/checkout#579) ##### [vv3.5.3](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v353) - [Fix: Checkout fail in self-hosted runners when faulty submodule are checked-in](actions/checkout#1196) - [Fix typos found by codespell](actions/checkout#1287) - [Add support for sparse checkouts](actions/checkout#1369) ##### [vv3.5.2](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v352) - [Fix api endpoint for GHES](actions/checkout#1289) ##### [vv3.5.1](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v351) - [Fix slow checkout on Windows](actions/checkout#1246) ##### [vv3.5.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v350) - [Add new public key for known_hosts](actions/checkout#1237) ##### [vv3.4.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v340) - [Upgrade codeql actions to v2](actions/checkout#1209) - [Upgrade dependencies](actions/checkout#1210) - [Upgrade @actions/io](actions/checkout#1225) ##### [vv3.3.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v330) - [Implement branch list using callbacks from exec function](actions/checkout#1045) - [Add in explicit reference to private checkout options](actions/checkout#1050) - [Fix comment typos (that got added in #770)](actions/checkout#1057) ##### [vv3.2.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v320) - [Add GitHub Action to perform release](actions/checkout#942) - [Fix status badge](actions/checkout#967) - [Replace datadog/squid with ubuntu/squid Docker image](actions/checkout#1002) - [Wrap pipeline commands for submoduleForeach in quotes](actions/checkout#964) - [Update @actions/io to 1.1.2](actions/checkout#1029) - [Upgrading version to 3.2.0](actions/checkout#1039) ##### [vv3.1.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v310) - [Use @actions/core `saveState` and `getState`](actions/checkout#939) - [Add `github-server-url` input](actions/checkout#922) ##### [vv3.0.2](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v302) - [Add input `set-safe-directory`](actions/checkout#770) ##### [vv3.0.1](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v301) - [Fixed an issue where checkout failed to run in container jobs due to the new git setting `safe.directory`](actions/checkout#762) - [Bumped various npm package versions](actions/checkout#744) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
gwennlbh
pushed a commit
to cigaleapp/infrastructure
that referenced
this pull request
Oct 28, 2026
##### [vv7.0.1](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v701) - Skip running unsafe pr check if input is default by [@aiqiaoy](https://github.com/aiqiaoy) in [#2518](actions/checkout#2518) - Trim only ascii whitespace for branch by [@aiqiaoy](https://github.com/aiqiaoy) in [#2521](actions/checkout#2521) - Escape values passed to --unset by [@aiqiaoy](https://github.com/aiqiaoy) in [#2530](actions/checkout#2530) - Various dependency updates ##### [vv7.0.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v700) - Block checking out fork PR for pull_request_target and workflow_run by [@aiqiaoy](https://github.com/aiqiaoy) in [#2454](actions/checkout#2454) - Various dependency updates ##### [vv6.1.0](https://github.com/actions/checkout/releases/tag/v6.1.0) ##### What's Changed - **\[BREAKING]** backport `allow-unsafe-pr-checkout` to v6 by [@aiqiaoy](https://github.com/aiqiaoy) in [#2500](actions/checkout#2500) - backport fixes to releases-v6 by [@aiqiaoy](https://github.com/aiqiaoy) in [#2527](actions/checkout#2527) <https://github.blog/changelog/2026-06-18-safer-pull_request_target-defaults-for-github-actions-checkout/> for more details about this breaking change **Full Changelog**: <actions/checkout@v6.0.3...v6.1.0> ##### [vv6.0.3](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v603) - Fix checkout init for SHA-256 repositories by [@yaananth](https://github.com/yaananth) in [#2439](actions/checkout#2439) - fix: expand merge commit SHA regex and add SHA-256 test cases by [@yaananth](https://github.com/yaananth) in [#2414](actions/checkout#2414) ##### [vv6.0.2](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v602) - Fix tag handling: preserve annotations and explicit fetch-tags by [@ericsciple](https://github.com/ericsciple) in [#2356](actions/checkout#2356) ##### [vv6.0.1](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v601) - Add worktree support for persist-credentials includeIf by [@ericsciple](https://github.com/ericsciple) in [#2327](actions/checkout#2327) ##### [vv6.0.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v600) - Persist creds to a separate file by [@ericsciple](https://github.com/ericsciple) in [#2286](actions/checkout#2286) - Update README to include Node.js 24 support details and requirements by [@salmanmkc](https://github.com/salmanmkc) in [#2248](actions/checkout#2248) ##### [vv5.1.0](https://github.com/actions/checkout/releases/tag/v5.1.0) ##### What's Changed - **\[BREAKING]** backport `allow-unsafe-pr-checkout` to v5 by [@aiqiaoy](https://github.com/aiqiaoy) in [#2501](actions/checkout#2501) - backport fixes to releases-v5 by [@aiqiaoy](https://github.com/aiqiaoy) in [#2523](actions/checkout#2523) <https://github.blog/changelog/2026-06-18-safer-pull_request_target-defaults-for-github-actions-checkout/> for more details about this breaking change **Full Changelog**: <actions/checkout@v5.0.1...v5.1.0> ##### [vv5.0.1](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v501) - Port v6 cleanup to v5 by [@ericsciple](https://github.com/ericsciple) in [#2301](actions/checkout#2301) ##### [vv5.0.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v500) - Update actions checkout to use node 24 by [@salmanmkc](https://github.com/salmanmkc) in [#2226](actions/checkout#2226) ##### [vv4.4.0](https://github.com/actions/checkout/releases/tag/v4.4.0) ##### What's Changed - **\[BREAKING]** backport `allow-unsafe-pr-checkout` to v4 by [@aiqiaoy](https://github.com/aiqiaoy) in [#2502](actions/checkout#2502) - backport fixes to releases-v4 by [@aiqiaoy](https://github.com/aiqiaoy) in [#2524](actions/checkout#2524) <https://github.blog/changelog/2026-06-18-safer-pull_request_target-defaults-for-github-actions-checkout/> for more details about this breaking change **Full Changelog**: <actions/checkout@v4.3.1...v4.4.0> ##### [vv4.3.1](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v431) - Port v6 cleanup to v4 by [@ericsciple](https://github.com/ericsciple) in [#2305](actions/checkout#2305) ##### [vv4.3.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v430) - docs: update README.md by [@motss](https://github.com/motss) in [#1971](actions/checkout#1971) - Add internal repos for checking out multiple repositories by [@mouismail](https://github.com/mouismail) in [#1977](actions/checkout#1977) - Documentation update - add recommended permissions to Readme by [@benwells](https://github.com/benwells) in [#2043](actions/checkout#2043) - Adjust positioning of user email note and permissions heading by [@joshmgross](https://github.com/joshmgross) in [#2044](actions/checkout#2044) - Update README.md by [@nebuk89](https://github.com/nebuk89) in [#2194](actions/checkout#2194) - Update CODEOWNERS for actions by [@TingluoHuang](https://github.com/TingluoHuang) in [#2224](actions/checkout#2224) - Update package dependencies by [@salmanmkc](https://github.com/salmanmkc) in [#2236](actions/checkout#2236) ##### [vv4.2.2](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v422) - `url-helper.ts` now leverages well-known environment variables by [@jww3](https://github.com/jww3) in [#1941](actions/checkout#1941) - Expand unit test coverage for `isGhes` by [@jww3](https://github.com/jww3) in [#1946](actions/checkout#1946) ##### [vv4.2.1](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v421) - Check out other refs/\* by commit if provided, fall back to ref by [@orhantoy](https://github.com/orhantoy) in [#1924](actions/checkout#1924) ##### [vv4.2.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v420) - Add Ref and Commit outputs by [@lucacome](https://github.com/lucacome) in [#1180](actions/checkout#1180) - Dependency updates by [@dependabot-](https://github.com/dependabot-) [#1777](actions/checkout#1777), [#1872](actions/checkout#1872) ##### [vv4.1.7](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v417) - Bump the minor-npm-dependencies group across 1 directory with 4 updates by [@dependabot](https://github.com/dependabot) in [#1739](actions/checkout#1739) - Bump actions/checkout from 3 to 4 by [@dependabot](https://github.com/dependabot) in [#1697](actions/checkout#1697) - Check out other refs/\* by commit by [@orhantoy](https://github.com/orhantoy) in [#1774](actions/checkout#1774) - Pin actions/checkout's own workflows to a known, good, stable version. by [@jww3](https://github.com/jww3) in [#1776](actions/checkout#1776) ##### [vv4.1.6](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v416) - Check platform to set archive extension appropriately by [@cory-miller](https://github.com/cory-miller) in [#1732](actions/checkout#1732) ##### [vv4.1.5](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v415) - Update NPM dependencies by [@cory-miller](https://github.com/cory-miller) in [#1703](actions/checkout#1703) - Bump github/codeql-action from 2 to 3 by [@dependabot](https://github.com/dependabot) in [#1694](actions/checkout#1694) - Bump actions/setup-node from 1 to 4 by [@dependabot](https://github.com/dependabot) in [#1696](actions/checkout#1696) - Bump actions/upload-artifact from 2 to 4 by [@dependabot](https://github.com/dependabot) in [#1695](actions/checkout#1695) - README: Suggest `user.email` to be `41898282+github-actions[bot]@users.noreply.github.com` by [@cory-miller](https://github.com/cory-miller) in [#1707](actions/checkout#1707) ##### [vv4.1.4](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v414) - Disable `extensions.worktreeConfig` when disabling `sparse-checkout` by [@jww3](https://github.com/jww3) in [#1692](actions/checkout#1692) - Add dependabot config by [@cory-miller](https://github.com/cory-miller) in [#1688](actions/checkout#1688) - Bump the minor-actions-dependencies group with 2 updates by [@dependabot](https://github.com/dependabot) in [#1693](actions/checkout#1693) - Bump word-wrap from 1.2.3 to 1.2.5 by [@dependabot](https://github.com/dependabot) in [#1643](actions/checkout#1643) ##### [vv4.1.3](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v413) - Check git version before attempting to disable `sparse-checkout` by [@jww3](https://github.com/jww3) in [#1656](actions/checkout#1656) - Add SSH user parameter by [@cory-miller](https://github.com/cory-miller) in [#1685](actions/checkout#1685) - Update `actions/checkout` version in `update-main-version.yml` by [@jww3](https://github.com/jww3) in [#1650](actions/checkout#1650) ##### [vv4.1.2](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v412) - Fix: Disable sparse checkout whenever `sparse-checkout` option is not present [@dscho](https://github.com/dscho) in [#1598](actions/checkout#1598) ##### [vv4.1.1](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v411) - Correct link to GitHub Docs by [@peterbe](https://github.com/peterbe) in [#1511](actions/checkout#1511) - Link to release page from what's new section by [@cory-miller](https://github.com/cory-miller) in [#1514](actions/checkout#1514) ##### [vv4.1.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v410) - [Add support for partial checkout filters](actions/checkout#1396) ##### [vv4.0.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v400) - [Support fetching without the --progress option](actions/checkout#1067) - [Update to node20](actions/checkout#1436) ##### [vv3.7.0](https://github.com/actions/checkout/releases/tag/v3.7.0) ##### What's Changed - **\[BREAKING]** backport `allow-unsafe-pr-checkout` to v3 by [@aiqiaoy](https://github.com/aiqiaoy) in [#2503](actions/checkout#2503) - backport fixes to releases-v3 by [@aiqiaoy](https://github.com/aiqiaoy) in [#2525](actions/checkout#2525) <https://github.blog/changelog/2026-06-18-safer-pull_request_target-defaults-for-github-actions-checkout/> for more details about this breaking change **Full Changelog**: <actions/checkout@v3.6.0...v3.7.0> ##### [vv3.6.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v360) - [Fix: Mark test scripts with Bash'isms to be run via Bash](actions/checkout#1377) - [Add option to fetch tags even if fetch-depth > 0](actions/checkout#579) ##### [vv3.5.3](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v353) - [Fix: Checkout fail in self-hosted runners when faulty submodule are checked-in](actions/checkout#1196) - [Fix typos found by codespell](actions/checkout#1287) - [Add support for sparse checkouts](actions/checkout#1369) ##### [vv3.5.2](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v352) - [Fix api endpoint for GHES](actions/checkout#1289) ##### [vv3.5.1](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v351) - [Fix slow checkout on Windows](actions/checkout#1246) ##### [vv3.5.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v350) - [Add new public key for known_hosts](actions/checkout#1237) ##### [vv3.4.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v340) - [Upgrade codeql actions to v2](actions/checkout#1209) - [Upgrade dependencies](actions/checkout#1210) - [Upgrade @actions/io](actions/checkout#1225) ##### [vv3.3.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v330) - [Implement branch list using callbacks from exec function](actions/checkout#1045) - [Add in explicit reference to private checkout options](actions/checkout#1050) - [Fix comment typos (that got added in #770)](actions/checkout#1057) ##### [vv3.2.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v320) - [Add GitHub Action to perform release](actions/checkout#942) - [Fix status badge](actions/checkout#967) - [Replace datadog/squid with ubuntu/squid Docker image](actions/checkout#1002) - [Wrap pipeline commands for submoduleForeach in quotes](actions/checkout#964) - [Update @actions/io to 1.1.2](actions/checkout#1029) - [Upgrading version to 3.2.0](actions/checkout#1039) ##### [vv3.1.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v310) - [Use @actions/core `saveState` and `getState`](actions/checkout#939) - [Add `github-server-url` input](actions/checkout#922) ##### [vv3.0.2](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v302) - [Add input `set-safe-directory`](actions/checkout#770) ##### [vv3.0.1](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v301) - [Fixed an issue where checkout failed to run in container jobs due to the new git setting `safe.directory`](actions/checkout#762) - [Bumped various npm package versions](actions/checkout#744) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
These changes allow for the base URL of another GitHub instance to be provided to the action so that a workflow running on a GHES server can clone a repository from another GHES server or github.com.
These changes maintain the existing default behaviour whilst allowing for a user to inject a URL to alternate GitHub instance and have been validated using an actions runner with and without a git command line client (i.e. git command line clone and HTTP cloning) have been tested.