Skip to content

Commit 8d3daf7

Browse files
chore(deps): bump actions/checkout from 5 to 6 (#3370)
* chore(deps): bump actions/checkout from 5 to 6 Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v5...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * chore(ci): shellcheck fixes --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Dmytro Sydorov <[email protected]>
1 parent ecbb786 commit 8d3daf7

14 files changed

+27
-27
lines changed

.github/workflows/actionlint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Checkout
18-
uses: actions/checkout@v5
18+
uses: actions/checkout@v6
1919
with:
2020
fetch-depth: 0
2121

.github/workflows/backport.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ubuntu-latest
2020
steps:
2121
- name: Checkout repository
22-
uses: actions/checkout@v5
22+
uses: actions/checkout@v6
2323
with:
2424
fetch-depth: 0
2525

.github/workflows/e2e.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
needs: detect_changes
4242
steps:
4343
- name: Checkout repository
44-
uses: actions/checkout@v5
44+
uses: actions/checkout@v6
4545
with:
4646
fetch-depth: 0
4747

@@ -90,7 +90,7 @@ jobs:
9090
runs-on: ubuntu-latest
9191
steps:
9292
- name: Checkout repository
93-
uses: actions/checkout@v5
93+
uses: actions/checkout@v6
9494
- id: set-paths-matrix
9595
run: |
9696
set -x
@@ -109,7 +109,7 @@ jobs:
109109
runs-on: ubuntu-latest
110110
steps:
111111
- name: Checkout repository
112-
uses: actions/checkout@v5
112+
uses: actions/checkout@v6
113113

114114
- uses: azure/setup-helm@v4
115115
name: Setup Helm
@@ -186,7 +186,7 @@ jobs:
186186
distribution: ["k3s", "k8s"]
187187
steps:
188188
- name: Checkout repository
189-
uses: actions/checkout@v5
189+
uses: actions/checkout@v6
190190

191191
- uses: azure/setup-helm@v4
192192
name: Setup Helm
@@ -291,7 +291,7 @@ jobs:
291291

292292
steps:
293293
- name: Checkout repository
294-
uses: actions/checkout@v5
294+
uses: actions/checkout@v6
295295

296296
- name: Set up Go
297297
uses: actions/setup-go@v6

.github/workflows/go-licenses-check.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
steps:
2121
- name: Check out code
22-
uses: actions/checkout@v5
22+
uses: actions/checkout@v6
2323

2424
- name: Set up Go
2525
uses: actions/setup-go@v6

.github/workflows/go-licenses.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
steps:
2222
- name: Check out code
23-
uses: actions/checkout@v5
23+
uses: actions/checkout@v6
2424

2525
- name: Set up Go
2626
uses: actions/setup-go@v6

.github/workflows/lint.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: ubuntu-latest
2323
steps:
2424
- name: Checkout code
25-
uses: actions/checkout@v5
25+
uses: actions/checkout@v6
2626

2727
- name: Check for prohibited vcluster import in config dir
2828
run: |
@@ -31,7 +31,7 @@ jobs:
3131
3232
IMPORT="github.com/loft-sh/vcluster"
3333
PATTERN="\"$IMPORT(\"|/)"
34-
FOUND_FILES=$(find ./config -name "*.go" -not -path "./config/legacyconfig/*" | xargs grep -l -E "$PATTERN" 2>/dev/null || true)
34+
FOUND_FILES=$(find ./config -name "*.go" -not -path "./config/legacyconfig/*" -print0 | xargs -0 grep -l -E "$PATTERN" 2>/dev/null || true)
3535
3636
if [ -n "$FOUND_FILES" ]; then
3737
echo "❌ ERROR: Prohibited import prefix '$IMPORT' found in:"

.github/workflows/notify-release.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
notify_release:
2121
runs-on: ubuntu-22.04
2222
steps:
23-
- uses: actions/checkout@v5
23+
- uses: actions/checkout@v6
2424
with:
2525
fetch-depth: 0
2626
ref: ${{ inputs.ref }}
@@ -40,12 +40,12 @@ jobs:
4040
BEST_DISTANCE=99999
4141
for REMOTE_BRANCH in $REMOTE_BRANCHES; do
4242
[ -z "$REMOTE_BRANCH" ] && continue
43-
BRANCH_BASE=$(git merge-base origin/main origin/$REMOTE_BRANCH 2>/dev/null || echo "")
43+
BRANCH_BASE=$(git merge-base origin/main "origin/$REMOTE_BRANCH" 2>/dev/null || echo "")
4444
if [ ! -z "$BRANCH_BASE" ]; then
4545
if git merge-base --is-ancestor "$BRANCH_BASE" "$TAG_COMMIT" 2>/dev/null; then
4646
DISTANCE=$(git rev-list --count "$TAG_COMMIT..origin/$REMOTE_BRANCH")
4747
if [ "$DISTANCE" -lt "$BEST_DISTANCE" ]; then
48-
BEST_BRANCH=$REMOTE_BRANCH
48+
BEST_BRANCH="$REMOTE_BRANCH"
4949
BEST_DISTANCE=$DISTANCE
5050
fi
5151
fi
@@ -54,7 +54,7 @@ jobs:
5454
if [ "$BEST_DISTANCE" -eq 99999 ]; then
5555
BEST_BRANCH=$(echo "$REMOTE_BRANCHES" | head -n 1 || echo "main")
5656
fi
57-
BASE_BRANCH=$BEST_BRANCH
57+
BASE_BRANCH="$BEST_BRANCH"
5858
fi
5959
echo "base_branch=$BASE_BRANCH" >> "$GITHUB_OUTPUT"
6060
echo "Base branch for $RELEASE_VERSION: $BASE_BRANCH (distance: $BEST_DISTANCE)"

.github/workflows/publish-chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Check validation result
2727
run: '[[ "${{ steps.semver.outputs.is_valid }}" == "true" ]] || (echo "Invalid version: ${{ inputs.release_version }}" && exit 1)'
2828
- name: Check out code
29-
uses: actions/checkout@v5
29+
uses: actions/checkout@v6
3030
with:
3131
ref: ${{ inputs.ref }}
3232
- uses: azure/setup-helm@v4

.github/workflows/push-head-images.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
contents: read
1515
steps:
1616
- name: Checkout
17-
uses: actions/checkout@v5
17+
uses: actions/checkout@v6
1818
- name: Install Helm Unit Test Plugin
1919
run: |
2020
helm plugin install https://github.com/helm-unittest/helm-unittest --version v0.4.4
@@ -30,7 +30,7 @@ jobs:
3030
contents: read
3131
steps:
3232
- name: Check out code into the Go module directory
33-
uses: actions/checkout@v5
33+
uses: actions/checkout@v6
3434
- name: Set up Go
3535
uses: actions/setup-go@v6
3636
with:
@@ -52,7 +52,7 @@ jobs:
5252
packages: write
5353
steps:
5454
- name: Checkout repository
55-
uses: actions/checkout@v5
55+
uses: actions/checkout@v6
5656
with:
5757
fetch-depth: 0
5858

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
sudo rm -rf /usr/local/lib/android || true
3030
sudo rm -rf /opt/hostedtoolcache/CodeQL || true
3131
sudo docker image prune --all --force || true
32-
- uses: actions/checkout@v5
32+
- uses: actions/checkout@v6
3333
with:
3434
fetch-depth: 0
3535
- run: git fetch --force --tags
@@ -132,7 +132,7 @@ jobs:
132132
- publish-chart
133133
runs-on: ubuntu-latest
134134
steps:
135-
- uses: actions/checkout@v5
135+
- uses: actions/checkout@v6
136136
- uses: actions/setup-go@v6
137137
with:
138138
go-version-file: go.mod

0 commit comments

Comments
 (0)