File tree Expand file tree Collapse file tree 14 files changed +27
-27
lines changed
Expand file tree Collapse file tree 14 files changed +27
-27
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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 : |
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:"
Original file line number Diff line number Diff line change 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
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)"
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
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 :
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
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments