brave / sugarcoat-pipeline

CLI that implements the SugarCoat pipeline
Mozilla Public License 2.0
7 stars 3 forks source link

Update actions/checkout action to v4.2.2 #67

Open renovate[bot] opened 1 month ago

renovate[bot] commented 1 month ago

This PR contains the following updates:

Package Type Update Change
actions/checkout action minor v4.1.7 -> v4.2.2

Release Notes

actions/checkout (actions/checkout) ### [`v4.2.2`](https://redirect.github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v422) [Compare Source](https://redirect.github.com/actions/checkout/compare/v4.2.1...v4.2.2) - `url-helper.ts` now leverages well-known environment variables by [@​jww3](https://redirect.github.com/jww3) in [https://github.com/actions/checkout/pull/1941](https://redirect.github.com/actions/checkout/pull/1941) - Expand unit test coverage for `isGhes` by [@​jww3](https://redirect.github.com/jww3) in [https://github.com/actions/checkout/pull/1946](https://redirect.github.com/actions/checkout/pull/1946) ### [`v4.2.1`](https://redirect.github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v421) [Compare Source](https://redirect.github.com/actions/checkout/compare/v4.2.0...v4.2.1) - Check out other refs/\* by commit if provided, fall back to ref by [@​orhantoy](https://redirect.github.com/orhantoy) in [https://github.com/actions/checkout/pull/1924](https://redirect.github.com/actions/checkout/pull/1924) ### [`v4.2.0`](https://redirect.github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v420) [Compare Source](https://redirect.github.com/actions/checkout/compare/v4.1.7...v4.2.0) - Add Ref and Commit outputs by [@​lucacome](https://redirect.github.com/lucacome) in [https://github.com/actions/checkout/pull/1180](https://redirect.github.com/actions/checkout/pull/1180) - Dependency updates by [@​dependabot-](https://redirect.github.com/dependabot-) [https://github.com/actions/checkout/pull/1777](https://redirect.github.com/actions/checkout/pull/1777), [https://github.com/actions/checkout/pull/1872](https://redirect.github.com/actions/checkout/pull/1872)

Configuration

📅 Schedule: Branch creation - " 0-4 * 3" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR was generated by Mend Renovate. View the repository job log.

github-actions[bot] commented 2 weeks ago

[puLL-Merge] - actions/checkout@v4.1.7..v4.2.2

Description

This PR introduces several improvements and updates to the GitHub Actions Checkout action. The main changes include adding new outputs for the checked-out ref and commit SHA, improving the handling of non-standard refs, enhancing the URL helper functions, and updating dependencies.

Changes ### Changes 1. `.github/workflows/publish-immutable-actions.yml`: - Added a new workflow for publishing immutable action versions. 2. `.github/workflows/test.yml`: - Added a new job `test-output` to verify the new outputs (ref and commit). 3. `.github/workflows/update-test-ubuntu-git.yml`: - Updated Docker-related action versions. 4. `CHANGELOG.md`: - Added entries for versions 4.2.2, 4.2.1, and 4.2.0, detailing the new features and improvements. 5. `README.md`: - Added a note about the user email format for Git commits. 6. `__test__/ref-helper.test.ts`: - Added a new test case for non-standard refs without a commit. 7. `__test__/url-helper.test.ts`: - Added new tests for URL helper functions. 8. `action.yml`: - Added new outputs for `ref` and `commit`. 9. `dist/index.js`: - Updated compiled JavaScript file with the new changes. 10. `package.json`: - Updated version to 4.2.2. - Updated some dev dependencies. 11. `src/git-source-provider.ts`: - Added logic to set the `commit` output. 12. `src/main.ts`: - Added logic to set the `ref` output. 13. `src/ref-helper.ts`: - Improved handling of non-standard refs. 14. `src/url-helper.ts`: - Refactored and improved URL helper functions.

Possible Issues

Security Hotspots

No significant security issues were identified in this change.