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

chore(deps): update actions/checkout action to v4.2.1 #192

Merged
merged 1 commit into from
Oct 20, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 16, 2024

This PR contains the following updates:

Package Type Update Change
actions/checkout action patch v4.2.0 -> v4.2.1

Release Notes

actions/checkout (actions/checkout)

v4.2.1

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 becomes conflicted, 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.

Copy link

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

Description

This pull request introduces a new GitHub Actions workflow for publishing immutable action versions automatically upon a release event, updates the CHANGELOG.md to document the latest changes, adds a new test case in the ref-helper tests, and modifies the logic in ref-helper.ts and index.js to handle refs without a commit more gracefully. It also bumps the package version to 4.2.1.

Possible Issues

  • The addition of the [email protected] action in the new workflow should be verified to ensure it’s stable and meets the project requirements.
  • No cleanup steps are present in the workflow which might be necessary in case the publish step fails.

Security Hotspots

  • None identified in this change set.
Changes

Changes

  1. .github/workflows/publish-immutable-actions.yml

    • Added a new workflow to publish immutable action versions automatically when a new release is published.
    • Workflow is triggered on release event (types: [published]).
    • Uses the actions/checkout@v4 and actions/[email protected] actions.
  2. CHANGELOG.md

    • Updated to include details of the new version v4.2.1.
    • Mentioned the inclusion of code allowing check out other refs by commit.
  3. __test__/ref-helper.test.ts

    • Added a new test case for getCheckoutInfo to cover the scenario of refs without an associated commit.
  4. dist/index.js & src/ref-helper.ts

    • Modified the getCheckoutInfo function to handle refs without a commit:
      - else if (upperRef.startsWith('REFS/') && commit) {
      -     result.ref = commit;
      + else if (upperRef.startsWith('REFS/')) {
      +     result.ref = commit ? commit : ref;
  5. package.json

    • Bumped the version from 4.2.0 to 4.2.1.

Copy link

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

Description

This PR introduces a new workflow for publishing immutable action versions, updates the changelog for version 4.2.1, modifies the ref-helper logic, and bumps the package version. The main change is in the ref-helper functionality, which now allows checking out other refs/* by commit if provided, falling back to the ref if no commit is specified.

Changes

Changes

  1. .github/workflows/publish-immutable-actions.yml (New file):

    • Added a new workflow to publish immutable action versions when a release is published.
    • Uses actions/checkout@v4 and actions/[email protected].
  2. CHANGELOG.md:

    • Added entry for version 4.2.1, mentioning the change in checking out other refs/*.
  3. __test__/ref-helper.test.ts:

    • Added a new test case for getCheckoutInfo with refs/ without a commit.
  4. dist/index.js:

    • Updated the logic for handling refs/ to use the commit if provided, otherwise fall back to the ref.
  5. package.json:

    • Bumped version from 4.2.0 to 4.2.1.
  6. src/ref-helper.ts:

    • Modified the getCheckoutInfo function to handle refs/ with or without a commit.

Possible Issues

The changes in the ref-helper logic might affect how certain refs are handled. Thorough testing should be done to ensure that all scenarios for ref handling are covered and working as expected.

Security Hotspots

None identified. The changes appear to be related to internal logic and don't introduce any obvious security concerns.

Copy link

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

Description

This PR introduces several changes, including a new workflow for publishing immutable action versions, updates to the changelog, modifications to the ref-helper functionality, and version bumps. The main focus appears to be on improving the handling of non-standard refs and adding a new automated publishing process.

Changes

Changes

  1. .github/workflows/publish-immutable-actions.yml (New file):

    • Adds a new GitHub Actions workflow to publish immutable action versions.
    • Triggered on release publication.
    • Uses actions/checkout@v4 and actions/[email protected].
  2. CHANGELOG.md:

    • Adds an entry for v4.2.1.
    • Mentions a change to check out other refs/* by commit if provided, falling back to ref.
  3. __test__/ref-helper.test.ts:

    • Adds a new test case for getCheckoutInfo with refs/ without a commit.
  4. dist/index.js:

    • Updates the logic for handling refs starting with 'REFS/'.
    • Now uses the commit if provided, otherwise falls back to the ref.
  5. package.json:

    • Updates the version from 4.2.0 to 4.2.1.
  6. src/ref-helper.ts:

    • Modifies the logic for handling refs starting with 'REFS/'.
    • Now uses the commit if provided, otherwise falls back to the ref.

Possible Issues

The changes to the ref handling logic in src/ref-helper.ts and dist/index.js might potentially affect existing workflows that rely on the previous behavior. It would be advisable to thoroughly test this change with various ref scenarios to ensure backward compatibility.

Security Hotspots

None identified. The changes appear to be focused on improving functionality rather than introducing new security concerns.

@thypon thypon merged commit e6ff2ba into main Oct 20, 2024
8 checks passed
@thypon thypon deleted the renovate/actions-checkout-4.x branch October 20, 2024 03:48
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.

1 participant