Skip to content

build(deps): bump actions/checkout from 6 to 7 - #720

Merged
yxxhero merged 1 commit into
mainfrom
dependabot/github_actions/actions/checkout-7
Jun 23, 2026
Merged

yxxhero merged 1 commit into
mainfrom
dependabot/github_actions/actions/checkout-7

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 19, 2026 •

Copy link
Copy Markdown
Contributor

Bumps actions/checkout from 6 to 7.

Release notes

Sourced from actions/checkout's releases.

v7.0.0

What's Changed

New Contributors

Full Changelog: actions/checkout@v6.0.3...v7.0.0

v6.0.3

What's Changed

New Contributors

Full Changelog: actions/checkout@v6...v6.0.3

v6.0.2

What's Changed

Full Changelog: actions/checkout@v6.0.1...v6.0.2

v6.0.1

What's Changed

Full Changelog: actions/checkout@v6...v6.0.1

Changelog

Sourced from actions/checkout's changelog.

Changelog

v7.0.0

v6.0.3

v6.0.2

v6.0.1

v6.0.0

v5.0.1

v5.0.0

v4.3.1

v4.3.0

v4.2.2

v4.2.1

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Jun 19, 2026
yxxhero added a commit that referenced this pull request Jun 23, 2026
…#726)

* fix: resolve duplicate helm plugin conflict when auto-init is enabled

When helmfile-auto-init is combined with helm-plugins, helmfile init
installs plugins (e.g. "diff") into a repo-named directory (helm-diff/),
and the action's Helm v4 .tgz install path extracts the same plugin into
an asset-named directory (helm-diff-OS-ARCH/). Both directories declare
the same plugin name, so helm plugin list fails with:

  two plugins claim the name "diff" at ".../helm-diff" and
  ".../helm-diff-macos-arm64"

This broke the test-action-auto-init job on macOS/Windows.

Detect the duplicate-name conflict (reported by Helm on stderr even when
the install exits 0) and remove the directory created from the .tgz
asset, treating the plugin as already installed.

Fixes the CI failure on #720.

* fix: detect duplicate helm plugins via directory scan for Windows

On Windows, `helm plugin install` exits 0 and does NOT report the
duplicate-name conflict on stderr (the conflict only surfaces later at
`helm plugin list`). So the stderr-based detection from the previous
commit missed Windows, and test-action-auto-init still failed there.

Add a directory-based verification: after a successful .tgz install,
read the just-created directory's declared plugin name and check sibling
directories for the same name. If a pre-existing plugin already claims
that name, remove the directory we just created from the .tgz asset.

Also add a regression test for the Windows-style silent-duplicate case.

* fix: bump undici to 6.27.0 to resolve high-severity npm audit advisory

The Basic validation workflow runs `npm audit --audit-level=high`, which
failed on the undici advisory (undici <=6.26.0, high severity) pulled in
transitively via @actions/http-client. Bump the lockfile entry from
6.24.1 to 6.27.0 (still within the ^6.23.0 range) to resolve it. This
is a non-breaking change.

This was also failing on main.

* refactor: unify duplicate-plugin detection into a single directory-based path

Post-review cleanup:

- Remove the stderr-based duplicate classification (isDuplicatePluginError
  and the 'duplicate' branch). It was redundant with the directory-based
  removeDuplicateAssetInstall() check, which is OS-independent and runs on
  every successful install. Helm does not report the conflict consistently
  during install (silent on Windows), so the directory check is the single
  source of truth.
- Unify the duplicate log message to "removed duplicate directory"
  (previously "removing" in the stderr path vs "removed" in the dir path).
- Consolidate the two duplicate tests into one that exercises the shared
  path, with precise mockResolvedValueOnce sequencing.
- Add an explicit negative assertion (mockRm not called) on a clean install
  to guard against accidental deletion of legit plugin directories.
@yxxhero

yxxhero commented Jun 23, 2026

Copy link
Copy Markdown
Member

@dependabot rebase

Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v6...v7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot
dependabot Bot force-pushed the dependabot/github_actions/actions/checkout-7 branch from 7cb9b17 to 0c48be7 Compare June 23, 2026 13:16
@yxxhero
yxxhero merged commit 789c3b6 into main Jun 23, 2026
12 checks passed
@yxxhero
yxxhero deleted the dependabot/github_actions/actions/checkout-7 branch June 23, 2026 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant