Skip to content

Commit d1f4eb1

Browse files
Update GitHub Actions
1 parent 249a0de commit d1f4eb1

File tree

7 files changed

+19
-19
lines changed

7 files changed

+19
-19
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ jobs:
3535
- arm64
3636
runs-on: ${{ github.repository == 'rancher/prometheus-federator' && format('runs-on,image=ubuntu22-full-{1},runner=4cpu-linux-{1},run-id={0}', github.run_id, matrix.arch) || 'ubuntu-latest' }}
3737
steps:
38-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
38+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
3939
- name : Set up Go
40-
uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5
40+
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6
4141
with:
4242
go-version: '1.22'
4343
- name: Check if yq is installed

.github/workflows/integration.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ jobs:
3939
runs-on: ${{ github.repository == 'rancher/prometheus-federator' && format('runs-on,image=ubuntu22-full-{1},runner=4cpu-linux-{1},run-id={0}', github.run_id, matrix.arch) || 'ubuntu-latest' }}
4040
steps:
4141
- name : Checkout repository
42-
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
42+
uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
4343
- name: Install go
44-
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5
44+
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6
4545
with:
4646
go-version: 1.24
4747
- name : Install helm

.github/workflows/lint.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ jobs:
1818
name: lint
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
22-
- uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5
21+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
22+
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6
2323
with:
2424
go-version: '1.22'
2525
- name : Install helm
@@ -29,7 +29,7 @@ jobs:
2929
- name: Package helm chart
3030
run : ./scripts/build-chart && BUILD_TARGET=helm-project-operator ./scripts/build-chart
3131
- name: golangci-lint
32-
uses: golangci/golangci-lint-action@1481404843c368bc19ca9406f87d6e0fc97bdcfd # v7 #
32+
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8 #
3333
with:
3434
# Require: The version of golangci-lint to use.
3535
# When `install-mode` is `binary` (default) the value can be v1.2 or v1.2.3 or `latest` to use the latest version.

.github/workflows/pr-debug-publish.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
steps:
3030
# Checkout the code at the head of the specified PR
3131
- name: Checkout the repository
32-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
32+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
3333
- name: Get Pull Request Head SHA
3434
id: get_head_sha
3535
run: |
@@ -56,7 +56,7 @@ jobs:
5656
steps:
5757
# Checkout the code at the head of the specified PR
5858
- name: Checkout PR Head
59-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
59+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
6060
with:
6161
ref: ${{ needs.prepare_pr_info.outputs.head_sha }}
6262
# Proceed to build images
@@ -99,7 +99,7 @@ jobs:
9999
steps:
100100
# Checkout the code at the head of the specified PR
101101
- name: Checkout PR Head
102-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
102+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
103103
with:
104104
ref: ${{ needs.prepare_pr_info.outputs.head_sha }}
105105
# Proceed to build images
@@ -141,7 +141,7 @@ jobs:
141141
pull-requests: write
142142
steps:
143143
- name: Comment on PR with image details
144-
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7
144+
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
145145
env:
146146
# meta-helm-locker: ${{ needs.build_dev_helm_locker.outputs.tags }}
147147
meta-helm-project-operator: ${{ needs.build_dev_helm_project_operator.outputs.tags }}

.github/workflows/prom-fed-e2e-ci.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ jobs:
5656
runs-on: ${{ github.repository == 'rancher/prometheus-federator' && format('runs-on,image=ubuntu22-full-{1},runner=4cpu-linux-{1},run-id={0}', github.run_id, matrix.arch) || 'ubuntu-latest' }}
5757
steps:
5858
-
59-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
59+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
6060
with:
6161
fetch-depth: 0
62-
- uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5
62+
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6
6363
with:
6464
go-version: '>=1.20.0'
6565
- uses: azure/setup-kubectl@3e0aec4d80787158d308d7b364cb1b702e7feb7f # v4
@@ -164,7 +164,7 @@ jobs:
164164
run: ./.github/workflows/e2e/scripts/generate-artifacts.sh;
165165
- name: Upload logs and manifests on failure
166166
if: failure()
167-
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
167+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
168168
with:
169169
name: artifacts-${{ matrix.arch }}-${{ inputs.k3s_version || env.K3S_MIN_VERSION_TAG }}
170170
path: artifacts/

.github/workflows/publish.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ jobs:
3030
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3131
GORELEASER_CURRENT_TAG: ${{ github.ref_name }}
3232
steps:
33-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
33+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
3434
with:
3535
fetch-depth: 0
3636
- run: git fetch --force --tags
3737
- name : setup Go
38-
uses : actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5
38+
uses : actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6
3939
with:
4040
go-version: 1.22
4141
- name: Check if yq is installed
@@ -83,7 +83,7 @@ jobs:
8383
id-token: write
8484
steps:
8585
- name : Checkout repository
86-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
86+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
8787
- name: Set up Docker Buildx
8888
uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3
8989
- name: Log in to the Container registry
@@ -120,7 +120,7 @@ jobs:
120120
id-token: write
121121
steps:
122122
- name : Checkout repository
123-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
123+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
124124
- name: Prepare helm charts (needed for build)
125125
run: |
126126
GIT_TAG=${{ github.ref_name }} BUILD_TARGET=prometheus-federator make package-helm && echo "pf: release chart prepared"

.github/workflows/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
stale:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9
14+
- uses: actions/stale@5f858e3efba33a5ca4407a664cc011ad407f2008 # v10
1515
with:
1616
stale-issue-message: 'This repository uses an automated workflow to automatically label issues which have not had any activity (commit/comment/label) for 60 days. This helps us manage the community issues better. If the issue is still relevant, please add a comment to the issue so the workflow can remove the label and we know it is still valid. If it is no longer relevant (or possibly fixed in the latest release), the workflow will automatically close the issue in 14 days. Thank you for your contributions.'
1717
stale-pr-message: 'This repository uses an automated workflow to automatically label pull requests which have not had any activity (commit/comment/label) for 60 days. This helps us manage the community pull requests better. If the pull request is still relevant, please add a comment to the pull request so the workflow can remove the label and we know it is still valid. If it is no longer relevant (or possibly fixed in the latest release), the workflow will automatically close the pull request in 14 days. Thank you for your contributions.'

0 commit comments

Comments
 (0)