Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update actions/checkout action to v4.2.2 #88

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 2, 2024

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

Compare Source

v4.2.1

Compare Source

v4.2.0

Compare Source


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.


  • If you want to rebase/retry this PR, check this box

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

@renovate renovate bot force-pushed the renovate/actions-checkout-4.x branch from 4b36d19 to d63d25f Compare October 11, 2024 19:34
@renovate renovate bot changed the title Update actions/checkout action to v4.2.0 Update actions/checkout action to v4.2.1 Oct 11, 2024
@renovate renovate bot force-pushed the renovate/actions-checkout-4.x branch from d63d25f to 0485ff8 Compare October 27, 2024 15:42
@renovate renovate bot changed the title Update actions/checkout action to v4.2.1 Update actions/checkout action to v4.2.2 Oct 27, 2024
Copy link

[puLL-Merge] - actions/[email protected]

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, updating dependencies, improving URL handling for GitHub Enterprise Server (GHES), and enhancing test coverage.

Changes

Changes

  1. action.yml:

    • Added new outputs: 'ref' and 'commit' to provide information about the checked-out branch/tag/SHA and commit SHA.
  2. src/main.ts:

    • Set the 'ref' output after getting the source.
  3. src/git-source-provider.ts:

    • Set the 'commit' output with the commit SHA.
  4. src/ref-helper.ts:

    • Modified the handling of refs starting with 'REFS/' to use the commit if provided, otherwise use the ref.
  5. src/url-helper.ts:

    • Improved URL handling and GHES detection logic.
    • Added new helper functions for string manipulation and content checking.
  6. __test__/url-helper.test.ts:

    • Added new tests for URL handling and GHES detection.
  7. package.json:

    • Updated version to 4.2.2.
    • Updated dependencies.
  8. CHANGELOG.md:

    • Added entries for versions 4.2.2, 4.2.1, and 4.2.0.
  9. README.md:

    • Added a note about the user email format for Git operations.
  10. .github/workflows/publish-immutable-actions.yml:

    • Added a new workflow for publishing immutable action versions.
  11. .github/workflows/test.yml:

    • Added a new job 'test-output' to verify the new outputs.
  12. .github/workflows/update-test-ubuntu-git.yml:

    • Updated Docker-related action versions.

Possible Issues

No major issues identified. However, users of the action should be aware of the new outputs and potential changes in URL handling for GHES environments.

Security Hotspots

No significant security concerns identified in this change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants