Enforce safe directory by thboop · Pull Request #762 · actions/checkout · GitHub
Skip to content

Enforce safe directory - #762

Merged
thboop merged 2 commits into
mainfrom
thboop/fixSafeDirectory
Apr 14, 2022
Merged

thboop merged 2 commits into
mainfrom
thboop/fixSafeDirectory

Conversation

@thboop

@thboop thboop commented Apr 13, 2022 •

Copy link
Copy Markdown
Contributor

This pr fixes #760 by setting the repositories path as a safe directory when running checkout and removing that config on cleanup.

We aren't able to set it as a local config, as this setting only works for global configs.

So, using the standard we used for submodules, lets go ahead and copy the existing global config to a new location. Then we can go ahead and modify that global config (so we don't modify like a users global config if they test something on a self hosted runner real fast). Then, we can delete that global config at the end of the checkout step.

This does carry some limitations, it doesn't persist this configuration for the duration of the job mainly. So if your job pushes to git or something after checkout, that will continue to fail. We need to figure out how to address this at an ecosystem level, outside of the checkout action.

Comment thread src/git-source-provider.ts Outdated
Comment thread src/git-command-manager.ts Outdated
Comment thread src/git-source-provider.ts Outdated
Comment thread src/git-source-provider.ts Outdated

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Renamed this function, changes are a result of that

Comment thread src/git-source-provider.ts
Comment thread src/git-auth-helper.ts Outdated
Comment thread src/git-source-provider.ts
@cbalioglu

Copy link
Copy Markdown

Comment thread src/git-auth-helper.ts
Comment thread src/git-auth-helper.ts Outdated
Comment thread src/git-auth-helper.ts Outdated
Comment thread src/git-auth-helper.ts
Comment thread src/git-source-provider.ts
Comment thread src/git-source-provider.ts
Comment thread src/git-source-provider.ts
Comment thread src/git-auth-helper.ts
Comment thread src/git-auth-helper.ts Outdated
@thboop
thboop force-pushed the thboop/fixSafeDirectory branch from c940690 to 5c1bbe6 Compare April 14, 2022 15:18
@thboop
thboop force-pushed the thboop/fixSafeDirectory branch from 5c1bbe6 to 55fd82f Compare April 14, 2022 15:20
@thboop thboop mentioned this pull request Apr 14, 2022
liketechnik added a commit to Compiler-CampusMinden/CB-Vorlesung-Bachelor that referenced this pull request Jul 5, 2022
Fixes an issue introduced with a recent git update
(https://github.blog/2022-04-12-git-security-vulnerability-announced/)
with a common workaround (actions/checkout#762,
https://stackoverflow.com/questions/71901632/fatal-error-unsafe-repository-home-repon-is-owned-by-someone-else,
actions/checkout#760),
by marking the /data directory inside the container as safe for git
during the container build.
liketechnik added a commit to Compiler-CampusMinden/CB-Vorlesung-Bachelor that referenced this pull request Jul 5, 2022
Fixes an issue introduced with a recent git update
(https://github.blog/2022-04-12-git-security-vulnerability-announced/)
with a common workaround (actions/checkout#762,
https://stackoverflow.com/questions/71901632/fatal-error-unsafe-repository-home-repon-is-owned-by-someone-else,
actions/checkout#760),
by marking the /data directory inside the container as safe for git
during the container build.
@mathomp4 mathomp4 mentioned this pull request Jul 7, 2022
3 of 7 tasks
cagix added a commit to Compiler-CampusMinden/CB-Vorlesung-Bachelor that referenced this pull request Jul 18, 2022
* tooling: git safe repo directory for docker image

Fixes an issue introduced with a recent git update
(https://github.blog/2022-04-12-git-security-vulnerability-announced/)
with a common workaround (actions/checkout#762,
https://stackoverflow.com/questions/71901632/fatal-error-unsafe-repository-home-repon-is-owned-by-someone-else,
actions/checkout#760),
by marking the /data directory inside the container as safe for git
during the container build.

* tooling: point git to directory instead of disabling security features

Easier to maintain version of 7c2b552
that additionally does not fiddle with security sensitive settings.

* style(Makefile): docker git env into separate variable

* tooling: extract repo location inside container into variable

* tooling: replace missing hardcoded /data with variable

Co-authored-by: Carsten Gips <cagix@fh-bielefeld.de>

* tooling(delete-rem-tags): pass git commit info (#19)

* tooling(delete-rem-tags): pass git commit info

Passes git author information via environment variables into the docker
container, in order to ensure commits done by the script have correct
author information.

* tooling(delete-rem-tags): pass git full commit info

Pass not only author information, but committer information too, since
git seems to be *sometimes* unhappy with only author information, for
whatever reason.

* tooling: makefile formatting

Co-authored-by: Carsten Gips <cagix@fh-bielefeld.de>

* tooling: makefile formatting

Co-authored-by: Carsten Gips <cagix@fh-bielefeld.de>

* tooling: makefile formatting

Co-authored-by: Carsten Gips <cagix@fh-bielefeld.de>

Co-authored-by: Carsten Gips <cagix@fh-bielefeld.de>
clebergnu added a commit to avocado-framework/avocado that referenced this pull request Oct 25, 2022
This workflow is currently failing, giving the following error:

   fatal: unsafe repository ('/__w/avocado/avocado' is owned by someone else)
   To add an exception for this directory, call:

          git config --global --add safe.directory /__w/avocado/avocado
   Error: Process completed with exit code 128.

Let's work around this limitation and more recent git behavior and set
the safe mode on the repo directory manually.

Reference: actions/checkout#762
Signed-off-by: Cleber Rosa <crosa@redhat.com>
ondrejbudai added a commit to ondrejbudai/osbuild-composer that referenced this pull request Jan 2, 2023
Github actions have a peculiar behaviour: The "job root" directory is owned
by user with ID 1001 whereas many containers (like the Fedora one) run as root
by default. This causes git to freak out because repositories owned by
different users aren't considered safe anymore and must be explicitly allow-
listed.

This becomes a problem when we switch to Go 1.18 because it stamps build with
Git information which fails because the repository technically isn't safe.

Let's fix this by marking the repository as a safe one.

Note that the actions/checkout action has a set-safe-directory feature, but
this one is not permanent. After the action is done, the setting is removed.
See actions/checkout#762

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
ondrejbudai added a commit to osbuild/osbuild-composer that referenced this pull request Jan 6, 2023
Github actions have a peculiar behaviour: The "job root" directory is owned
by user with ID 1001 whereas many containers (like the Fedora one) run as root
by default. This causes git to freak out because repositories owned by
different users aren't considered safe anymore and must be explicitly allow-
listed.

This becomes a problem when we switch to Go 1.18 because it stamps build with
Git information which fails because the repository technically isn't safe.

Let's fix this by marking the repository as a safe one.

Note that the actions/checkout action has a set-safe-directory feature, but
this one is not permanent. After the action is done, the setting is removed.
See actions/checkout#762

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
bjoernboettle pushed a commit to bjoernboettle/checkout that referenced this pull request May 22, 2026
* set safe directory when running checkout

* Update CHANGELOG.md
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fatal: unsafe repository (REPO is owned by someone else) with ubuntu 20.04 container

5 participants