diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index 77a4d1d5..00000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,677 +0,0 @@ -# Changelog - -All notable changes to this project will be documented in this file, in reverse chronological order by release. - - -======= -## 1.15.0 - TBD - -### Added - -- Nothing. - -### Changed - -- Nothing. - -### Deprecated - -- Nothing. - -### Removed - -- Nothing. - -### Fixed - -- Nothing. - -## 1.14.0 - 2022-07-26 - - ------ - -### Release Notes for [1.14.0](https://github.com/laminas/automatic-releases/milestone/37) - -Feature release (minor) - -### 1.14.0 - -- Total issues resolved: **1** -- Total pull requests resolved: **15** -- Total contributors: **4** - -#### renovate - - - [197: chore(deps): lock file maintenance](https://github.com/laminas/automatic-releases/pull/197) thanks to @renovate[bot] - - [196: chore(deps): update docker/setup-qemu-action action to v2](https://github.com/laminas/automatic-releases/pull/196) thanks to @renovate[bot] - - [195: chore(deps): update docker/setup-buildx-action action to v2](https://github.com/laminas/automatic-releases/pull/195) thanks to @renovate[bot] - - [194: chore(deps): update docker/login-action action to v2](https://github.com/laminas/automatic-releases/pull/194) thanks to @renovate[bot] - - [193: chore(deps): update docker/build-push-action action to v3](https://github.com/laminas/automatic-releases/pull/193) thanks to @renovate[bot] - - [190: chore(deps): update dependency monolog/monolog to v3](https://github.com/laminas/automatic-releases/pull/190) thanks to @renovate[bot] - - [189: chore(deps): update dependency azjezz/psl to v2](https://github.com/laminas/automatic-releases/pull/189) thanks to @renovate[bot] - - [188: chore(deps): update actions/checkout action to v3](https://github.com/laminas/automatic-releases/pull/188) thanks to @renovate[bot] - - [185: Configure Renovate](https://github.com/laminas/automatic-releases/pull/185) thanks to @renovate[bot] - -#### dependencies - - - [184: build(deps): Bump guzzlehttp/guzzle from 7.4.4 to 7.4.5](https://github.com/laminas/automatic-releases/pull/184) thanks to @dependabot[bot] - - [183: build(deps): Bump guzzlehttp/guzzle from 7.4.3 to 7.4.4](https://github.com/laminas/automatic-releases/pull/183) thanks to @dependabot[bot] - - [182: build(deps): Bump guzzlehttp/guzzle from 7.3.0 to 7.4.3](https://github.com/laminas/automatic-releases/pull/182) thanks to @dependabot[bot] - -#### Enhancement - - - [180: Add support for Git LFS](https://github.com/laminas/automatic-releases/pull/180) thanks to @snapshotpl - - [178: Prepare for Renovate with reusable workflows](https://github.com/laminas/automatic-releases/pull/178) thanks to @ghostwriter - -#### Enhancement,dependencies - - - [172: add continuous integration action](https://github.com/laminas/automatic-releases/pull/172) thanks to @ghostwriter - - ------ - -### Release Notes for [1.14.0](https://github.com/laminas/automatic-releases/milestone/37) - -Feature release (minor) - -### 1.14.0 - -- Total issues resolved: **2** -- Total pull requests resolved: **17** -- Total contributors: **5** - -#### Bug - - - [200: Fix #198 - make GIT's `safe.directory` `'*'` by default on repository fetch](https://github.com/laminas/automatic-releases/pull/200) thanks to @Ocramius - - [199: Use `git config credential.helper 'store --file=/tmp/file' for `git push`](https://github.com/laminas/automatic-releases/pull/199) thanks to @Ocramius - -#### renovate - - - [197: chore(deps): lock file maintenance](https://github.com/laminas/automatic-releases/pull/197) thanks to @renovate[bot] - - [196: chore(deps): update docker/setup-qemu-action action to v2](https://github.com/laminas/automatic-releases/pull/196) thanks to @renovate[bot] - - [195: chore(deps): update docker/setup-buildx-action action to v2](https://github.com/laminas/automatic-releases/pull/195) thanks to @renovate[bot] - - [194: chore(deps): update docker/login-action action to v2](https://github.com/laminas/automatic-releases/pull/194) thanks to @renovate[bot] - - [193: chore(deps): update docker/build-push-action action to v3](https://github.com/laminas/automatic-releases/pull/193) thanks to @renovate[bot] - - [190: chore(deps): update dependency monolog/monolog to v3](https://github.com/laminas/automatic-releases/pull/190) thanks to @renovate[bot] - - [189: chore(deps): update dependency azjezz/psl to v2](https://github.com/laminas/automatic-releases/pull/189) thanks to @renovate[bot] - - [188: chore(deps): update actions/checkout action to v3](https://github.com/laminas/automatic-releases/pull/188) thanks to @renovate[bot] - - [185: Configure Renovate](https://github.com/laminas/automatic-releases/pull/185) thanks to @renovate[bot] - -#### dependencies - - - [184: build(deps): Bump guzzlehttp/guzzle from 7.4.4 to 7.4.5](https://github.com/laminas/automatic-releases/pull/184) thanks to @dependabot[bot] - - [183: build(deps): Bump guzzlehttp/guzzle from 7.4.3 to 7.4.4](https://github.com/laminas/automatic-releases/pull/183) thanks to @dependabot[bot] - - [182: build(deps): Bump guzzlehttp/guzzle from 7.3.0 to 7.4.3](https://github.com/laminas/automatic-releases/pull/182) thanks to @dependabot[bot] - -#### Enhancement - - - [180: Add support for Git LFS](https://github.com/laminas/automatic-releases/pull/180) thanks to @snapshotpl - - [178: Prepare for Renovate with reusable workflows](https://github.com/laminas/automatic-releases/pull/178) thanks to @ghostwriter - -#### Enhancement,dependencies - - - [172: add continuous integration action](https://github.com/laminas/automatic-releases/pull/172) thanks to @ghostwriter - -## 1.13.0 - 2021-10-03 - - ------ - -### Release Notes for [1.13.0](https://github.com/laminas/automatic-releases/milestone/33) - -Feature release (minor) - -### 1.13.0 - -- Total issues resolved: **2** -- Total pull requests resolved: **4** -- Total contributors: **5** - -#### Enhancement,dependencies - - - [169: chore(dependencies): upgrade PSL to 1.8.1](https://github.com/laminas/automatic-releases/pull/169) thanks to @azjezz and @greg0ire - -#### Enhancement - - - [165: Closes #147: Add test for `CreateMilestones` command](https://github.com/laminas/automatic-releases/pull/165) thanks to @alexraputa - -#### Bug - - - [149: Merge release 1.12.2 into 1.13.x](https://github.com/laminas/automatic-releases/pull/149) thanks to @github-actions[bot] - - [141: Merge release 1.12.1 into 1.13.x](https://github.com/laminas/automatic-releases/pull/141) thanks to @github-actions[bot] - -#### Enhancement,Good First Issue,Help Wanted - - - [147: `CreateMilestones` command is not covered by any tests](https://github.com/laminas/automatic-releases/issues/147) thanks to @Ocramius - -## 1.12.2 - 2021-06-04 - - ------ - -### Release Notes for [1.12.2](https://github.com/laminas/automatic-releases/milestone/34) - -1.12.x bugfix release (patch) - -### 1.12.2 - -- Total issues resolved: **0** -- Total pull requests resolved: **1** -- Total contributors: **1** - -#### Bug - - - [148: Hardening scenarios around failed Github API and GraphQL calls](https://github.com/laminas/automatic-releases/pull/148) thanks to @Ocramius - -## 1.12.1 - 2021-05-23 - - ------ - -### Release Notes for [1.12.1](https://github.com/laminas/automatic-releases/milestone/32) - -1.12.x bugfix release (patch) - -### 1.12.1 - -- Total issues resolved: **1** -- Total pull requests resolved: **1** -- Total contributors: **1** - -#### Bug - - - [140: Private repository release support](https://github.com/laminas/automatic-releases/pull/140) thanks to @Lansoweb - -## 1.12.0 - 2021-05-21 - - ------ - -### Release Notes for [1.12.0](https://github.com/laminas/automatic-releases/milestone/30) - -Feature release (minor) - -### 1.12.0 - -- Total issues resolved: **0** -- Total pull requests resolved: **5** -- Total contributors: **5** - -#### Enhancement - - - [138: replace `thecodingmachine/safe`, `webmozart/assert`, and `symfony/process` by `azjezz/psl`](https://github.com/laminas/automatic-releases/pull/138) thanks to @azjezz - - [132: build(deps-dev): Bump doctrine/coding-standard from 8.2.0 to 9.0.0](https://github.com/laminas/automatic-releases/pull/132) thanks to @dependabot-preview[bot] - -#### Bug,Documentation - - - [137: Fix typo in README.md](https://github.com/laminas/automatic-releases/pull/137) thanks to @Jean-Beru - -#### Enhancement,dependencies - - - [136: Normalize composer](https://github.com/laminas/automatic-releases/pull/136) thanks to @ghostwriter - -#### Enhancement,Feature Request - - - [125: Set shell verbosity to debug by default](https://github.com/laminas/automatic-releases/pull/125) thanks to @ostrolucky - -## 1.11.1 - 2021-03-29 - -- Total issues resolved: **0** -- Total pull requests resolved: **1** -- Total contributors: **1** - -#### Bug - - - [127: Use ' instead of "in workflow expression](https://github.com/laminas/automatic-releases/pull/127) thanks to @weierophinney - -## 1.11.0 - 2021-03-29 - -### Changed - -- This release modifies the action to both tag a pre-built container, as well as directly use that container within the action, in order to speed up the release process. - -### 1.11.0 - -- Total issues resolved: **0** -- Total pull requests resolved: **3** -- Total contributors: **3** - -#### Enhancement - - - [124: Modify action to build and consume container](https://github.com/laminas/automatic-releases/pull/124) thanks to @weierophinney - - [117: reduce semver version comparison complexity](https://github.com/laminas/automatic-releases/pull/117) thanks to @bendavies - -#### Bug - - - [118: Fix mutation test flow for branches/tags](https://github.com/laminas/automatic-releases/pull/118) thanks to @lcobucci - -## 1.10.0 - 2021-02-25 - - ------ - -### Release Notes for [1.10.0](https://github.com/laminas/automatic-releases/milestone/24) - -Feature release (minor) - -### 1.10.0 - -- Total issues resolved: **0** -- Total pull requests resolved: **1** -- Total contributors: **1** - -#### Enhancement - - - [115: Reduce docker image size (and build time)](https://github.com/laminas/automatic-releases/pull/115) thanks to @lcobucci - -## 1.9.2 - 2021-02-25 - - ------ - -### Release Notes for [1.9.2](https://github.com/laminas/automatic-releases/milestone/25) - -1.9.x bugfix release (patch) - -### 1.9.2 - -- Total issues resolved: **0** -- Total pull requests resolved: **6** -- Total contributors: **4** - -#### Bug - - - [116: Fix version comparison algorithm](https://github.com/laminas/automatic-releases/pull/116) thanks to @lcobucci - -#### Enhancement - - - [113: Fix workflow trigger to include all branches and tags](https://github.com/laminas/automatic-releases/pull/113) thanks to @core23 - -#### Documentation,Enhancement - - - [104: Docs clarification on ORGANIZATION_ADMIN_TOKEN for non-organization accounts](https://github.com/laminas/automatic-releases/pull/104) thanks to @asgrim - - [103: README: Do not add all possible workflows](https://github.com/laminas/automatic-releases/pull/103) thanks to @glensc - - [102: Improve documentation for gpg subkey creation](https://github.com/laminas/automatic-releases/pull/102) thanks to @glensc - - [101: Add setting up gpg keys link to SIGNING_SECRET_KEY](https://github.com/laminas/automatic-releases/pull/101) thanks to @glensc - -## 1.9.1 - 2021-01-24 - - ------ - -### Release Notes for [1.9.1](https://github.com/laminas/automatic-releases/milestone/23) - -1.9.x bugfix release (patch) - -### 1.9.1 - -- Total issues resolved: **0** -- Total pull requests resolved: **2** -- Total contributors: **1** - -#### Bug - - - [100: Replace bash wrapper for entrypoint](https://github.com/laminas/automatic-releases/pull/100) thanks to @glensc - -#### Bug,Duplicate - - - [98: Update entrypoint for argument quoting](https://github.com/laminas/automatic-releases/pull/98) thanks to @glensc - -## 1.9.0 - 2021-01-21 - - ------ - -### Release Notes for [1.9.0](https://github.com/laminas/automatic-releases/milestone/22) - -Feature release (minor) - -### 1.9.0 - -- Total issues resolved: **0** -- Total pull requests resolved: **14** -- Total contributors: **4** - -#### Awaiting Author Updates,Enhancement - - - [97: Upgraded dependencies, `composer:^2` and `php:^8`, mutation tests CI improvements](https://github.com/laminas/automatic-releases/pull/97) thanks to @Ocramius - -#### Enhancement - - - [95: build(deps): Bump doctrine/instantiator from 1.3.1 to 1.4.0](https://github.com/laminas/automatic-releases/pull/95) thanks to @dependabot-preview[bot] - - [94: build(deps): Bump sebastian/object-enumerator from 4.0.2 to 4.0.4](https://github.com/laminas/automatic-releases/pull/94) thanks to @dependabot-preview[bot] - - [93: build(deps-dev): Bump infection/infection from 0.16.4 to 0.17.5](https://github.com/laminas/automatic-releases/pull/93) thanks to @dependabot-preview[bot] - - [92: build(deps): Bump laminas/laminas-diactoros from 2.3.1 to 2.5.0](https://github.com/laminas/automatic-releases/pull/92) thanks to @dependabot-preview[bot] - - [89: build(deps): Bump php-http/discovery from 1.9.1 to 1.13.0](https://github.com/laminas/automatic-releases/pull/89) thanks to @dependabot-preview[bot] - - [87: build(deps-dev): Bump vimeo/psalm from 3.13.1 to 3.18.2](https://github.com/laminas/automatic-releases/pull/87) thanks to @dependabot-preview[bot] - - [85: build(deps-dev): Bump squizlabs/php_codesniffer from 3.5.5 to 3.5.8](https://github.com/laminas/automatic-releases/pull/85) thanks to @dependabot-preview[bot] - - [83: build(deps): Bump m4tthumphrey/php-gitlab-api from 9.18.1 to 9.19.2](https://github.com/laminas/automatic-releases/pull/83) thanks to @dependabot-preview[bot] - - [82: build(deps): Bump slevomat/coding-standard from 6.3.10 to 6.3.11](https://github.com/laminas/automatic-releases/pull/82) thanks to @dependabot-preview[bot] - - [81: build(deps): Bump infection/abstract-testframework-adapter from 0.3.0 to 0.3.1](https://github.com/laminas/automatic-releases/pull/81) thanks to @dependabot-preview[bot] - - [80: build(deps-dev): Bump psalm/plugin-phpunit from 0.10.1 to 0.12.2](https://github.com/laminas/automatic-releases/pull/80) thanks to @dependabot-preview[bot] - -#### Documentation - - - [77: Update documentation around generating GPG keys to sign releases](https://github.com/laminas/automatic-releases/pull/77) thanks to @carnage - - [75: Fix docker actions name label](https://github.com/laminas/automatic-releases/pull/75) thanks to @geerteltink - -## 1.8.0 - 2020-09-06 - - ------ - -### Release Notes for [1.8.0](https://github.com/laminas/automatic-releases/milestone/20) - -Feature release (minor) - -### 1.8.0 - -- Total issues resolved: **1** -- Total pull requests resolved: **1** -- Total contributors: **2** - -#### Bug,Enhancement - - - [73: fix: update phly/keep-a-changelog](https://github.com/laminas/automatic-releases/pull/73) thanks to @ramsey - -#### Bug - - - [57: `CHANGELOG.md` bump failed for branch with valid changelog?](https://github.com/laminas/automatic-releases/issues/57) thanks to @Ocramius - -## 1.7.0 - 2020-09-05 - - ------ - -### Release Notes for [1.7.0](https://github.com/laminas/automatic-releases/milestone/18) - -Feature release (minor) - -### 1.7.0 - -- Total issues resolved: **0** -- Total pull requests resolved: **3** -- Total contributors: **2** - -#### Enhancement - - - [72: Sign commits, as well as tags](https://github.com/laminas/automatic-releases/pull/72) thanks to @ramsey - -#### Documentation - - - [71: docs: add note about how GITHUB_TOKEN is created](https://github.com/laminas/automatic-releases/pull/71) thanks to @ramsey - -#### Bug - - - [70: Merge release 1.6.1 into 1.7.x](https://github.com/laminas/automatic-releases/pull/70) thanks to @github-actions[bot] - -## 1.6.1 - 2020-09-04 - - ------ - -### Release Notes for [1.6.1](https://github.com/laminas/automatic-releases/milestone/17) - -1.6.x bugfix release (patch) - -### 1.6.1 - -- Total issues resolved: **0** -- Total pull requests resolved: **1** -- Total contributors: **1** - -#### Bug,Documentation - - - [69: Add all required environment variables to `release-on-milestone-close…](https://github.com/laminas/automatic-releases/pull/69) thanks to @Ocramius - -## 1.6.0 - 2020-09-03 - - ------ - -### Release Notes for [1.6.0](https://github.com/laminas/automatic-releases/milestone/16) - -Feature release (minor) - -### 1.6.0 - -- Total issues resolved: **3** -- Total pull requests resolved: **3** -- Total contributors: **1** - -#### Enhancement - - - [68: Strip empty sections from keep-a-changelog release notes](https://github.com/laminas/automatic-releases/pull/68) thanks to @weierophinney - - [67: Normalize generated text to strip extra lines and redundant version information](https://github.com/laminas/automatic-releases/pull/67) thanks to @weierophinney - - [66: End changelog version entry with empty line](https://github.com/laminas/automatic-releases/pull/66) thanks to @weierophinney - -## 1.5.0 - 2020-08-31 - - - ------ - -### Release Notes for [1.5.0](https://github.com/laminas/automatic-releases/milestone/13) - - - -### 1.5.0 - -- Total issues resolved: **1** -- Total pull requests resolved: **1** -- Total contributors: **1** - -#### Enhancement - - - [62: Add milestone descriptions when creating new milestones](https://github.com/laminas/automatic-releases/pull/62) thanks to @geerteltink -## 1.4.0 - 2020-08-31 - - - ------ - -### Release Notes for [1.4.0](https://github.com/laminas/automatic-releases/milestone/11) - - - -### 1.4.0 - -- Total issues resolved: **1** -- Total pull requests resolved: **1** -- Total contributors: **2** - -#### Enhancement - - - [37: Create new milestones automatically](https://github.com/laminas/automatic-releases/pull/37) thanks to @geerteltink and @Ocramius -## 1.3.0 - 2020-08-26 - -### Added - -- Nothing. - -### Changed - -- [#58](https://github.com/laminas/automatic-releases/pull/58) updates the "Release" step such that: - - It now **always** uses jwage/changelog-generator to generate release notes. - - **IF** a `CHANGELOG.md` file is present: - - **IF** it contains changes for the target version, it appends the generated release notes to the changes for that version. - - **OTHERWISE** it replaces the contents for the target version with the generated release notes. - - And then it commits and pushes the file to the originating branch before it tags and releases. - -### Deprecated - -- Nothing. - -### Removed - -- Nothing. - -### Fixed - -- Nothing. - - ------ - -### Release Notes for [1.3.0](https://github.com/laminas/automatic-releases/milestone/5) - - - -### 1.3.0 - -- Total issues resolved: **0** -- Total pull requests resolved: **9** -- Total contributors: **3** - -#### Bug,Documentation - - - [60: Updates README.md - automation is not laminas-specific](https://github.com/laminas/automatic-releases/pull/60) thanks to @michalbundyra - -#### Bug - - - [59: Remove redundant infection configuration](https://github.com/laminas/automatic-releases/pull/59) thanks to @michalbundyra - - [53: Use ORGANIZATION_ADMIN_TOKEN for our own release action](https://github.com/laminas/automatic-releases/pull/53) thanks to @weierophinney - - [52: Merge release 1.2.3 into 1.3.x](https://github.com/laminas/automatic-releases/pull/52) thanks to @github-actions[bot] - - [48: Merge release 1.2.2 into 1.3.x](https://github.com/laminas/automatic-releases/pull/48) thanks to @github-actions[bot] - - [45: Fix YAML config for actions-tagger workflow](https://github.com/laminas/automatic-releases/pull/45) thanks to @weierophinney - - [44: Merge release 1.2.1 into 1.3.x](https://github.com/laminas/automatic-releases/pull/44) thanks to @github-actions[bot] - -#### Enhancement,Review Needed - - - [58: Automatically generate changelog revision text if the changelog was not hand-crafted - do not commit if unchanged](https://github.com/laminas/automatic-releases/pull/58) thanks to @weierophinney - -#### Documentation,Enhancement - - - [54: Update workflow documentation and examples](https://github.com/laminas/automatic-releases/pull/54) thanks to @weierophinney -## 1.2.4 - TBD - -### Added - -- Nothing. - -### Changed - -- Nothing. - -### Deprecated - -- Nothing. - -### Removed - -- Nothing. - -### Fixed - -- [#55](https://github.com/laminas/automatic-releases/pull/55) fixes issues with identifying and retrieving `CHANGELOG.md` contents from non-default branches. - -## 1.2.3 - 2020-08-13 - -### Added - -- Nothing. - -### Changed - -- Nothing. - -### Deprecated - -- Nothing. - -### Removed - -- Nothing. - -### Fixed - -- [#50](https://github.com/laminas/automatic-releases/pull/50) updates the various classes performing API calls to issue authorization as a Personal Access Token instead of an OAuth token. - -## 1.2.2 - 2020-08-12 - -### Added - -- Nothing. - -### Changed - -- Nothing. - -### Deprecated - -- Nothing. - -### Removed - -- Nothing. - -### Fixed - -- [#47](https://github.com/laminas/automatic-releases/pull/47) fixes `CHANGELOG.md` update operations to avoid preventable failures during the release process. - -## 1.2.1 - 2020-08-12 - -### Added - -- Nothing. - -### Changed - -- Nothing. - -### Deprecated - -- Nothing. - -### Removed - -- Nothing. - -### Fixed - -- [#43](https://github.com/laminas/automatic-releases/pull/43) fixes which branch the minor changelog bump is targetted to to correctly be the next default branch. - -## 1.2.0 - 2020-08-12 - -### Added - -- [#40](https://github.com/laminas/automatic-releases/pull/40) adds a new command, laminas:automatic-releases:bump-changelog. When a `CHANGELOG.md` file is present in the repository, it will add an entry in the file for the next patch-level release to the target branch of the closed milestone. The patch also adds the command to the end of the suggested workflow configuration. - -### Changed - -- [#40](https://github.com/laminas/automatic-releases/pull/40) updates the laminas:automatic-releases:switch-default-branch-to-next-minor command such that if a `CHANGELOG.md` file is present in the repository, and a new minor release branch is created, it adds an entry to the file for the next minor release. - -### Deprecated - -- Nothing. - -### Removed - -- Nothing. - -### Fixed - -- [#41](https://github.com/laminas/automatic-releases/pull/41) fixes an issue that occurred when attempting to commit changes to the `CHANGELOG.md`. - -## 1.1.0 - 2020-08-06 - -### Added - -- [#18](https://github.com/laminas/automatic-releases/pull/18) adds support for using `CHANGELOG.md` files in [Keep-A-Changelog](https://keepachangelog.com) format for the release notes. When such a file is found, the tooling will set the release date in the file, commit and push it, and then extract that changelog version to use in the release notes. It still pulls release notes from patches associated with the milestone as well, in order to provide attribution and provide additional insight into the changes associated with the release. - -### Changed - -- Nothing. - -### Deprecated - -- Nothing. - -### Removed - -- Nothing. - -### Fixed - -- Nothing. diff --git a/src/Git/FetchAndSetCurrentUserByReplacingCurrentOriginRemote.php b/src/Git/FetchAndSetCurrentUserByReplacingCurrentOriginRemote.php index cde1f5ba..4d71cbf0 100644 --- a/src/Git/FetchAndSetCurrentUserByReplacingCurrentOriginRemote.php +++ b/src/Git/FetchAndSetCurrentUserByReplacingCurrentOriginRemote.php @@ -24,6 +24,8 @@ public function __invoke( UriInterface $uriWithCredentials, string $repositoryRootDirectory ): void { + Shell\execute('git', ['config', '--global', '--add', 'safe.directory', '*'], $repositoryRootDirectory); + try { Shell\execute('git', ['remote', 'rm', 'origin'], $repositoryRootDirectory); } catch (Shell\Exception\FailedExecutionException) { @@ -31,7 +33,6 @@ public function __invoke( $credentialStore = Filesystem\create_temporary_file(); - Shell\execute('git', ['config', '--global', '--add', 'safe.directory', '*'], $repositoryRootDirectory); Shell\execute('git', ['config', 'credential.helper', 'store --file=' . $credentialStore], $repositoryRootDirectory); File\write($credentialStore, $uriWithCredentials->__toString()); Shell\execute('git', ['remote', 'add', 'origin', $repositoryUri->__toString()], $repositoryRootDirectory);