Skip to content

Commit 60fedf4

Browse files
Update: GitHub Actions workflows to use specific versions of actions
1 parent add8ef2 commit 60fedf4

16 files changed

+44
-44
lines changed

.github/workflows/backend_tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ jobs:
1919
steps:
2020

2121
- name: Checkout
22-
uses: actions/checkout@v4
22+
uses: actions/checkout@1e31de5234b9f8995739874a8ce0492dc87873e2
2323
with:
2424
token: ${{ github.token }}
2525
fetch-depth: 0
2626
ref: ${{ github.event.pull_request.head.sha }}
2727

2828
- name: Set up JDK
29-
uses: actions/setup-java@v4
29+
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12
3030
with:
3131
java-version: '21'
3232
distribution: 'zulu'

.github/workflows/branch-deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
if: ${{ github.event.label.name == 'status/feature_testing' || github.event.label.name == 'status/feature_testing_public' }}
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/checkout@v4
18+
- uses: actions/checkout@1e31de5234b9f8995739874a8ce0492dc87873e2
1919
with:
2020
ref: ${{ github.event.pull_request.head.sha }}
2121
token: ${{ github.token }}
@@ -27,7 +27,7 @@ jobs:
2727
env:
2828
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2929
- name: Set up JDK
30-
uses: actions/setup-java@v4
30+
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12
3131
with:
3232
java-version: '21'
3333
distribution: 'zulu'
@@ -45,7 +45,7 @@ jobs:
4545
id: buildx
4646
uses: docker/setup-buildx-action@v3
4747
- name: Cache Docker layers
48-
uses: actions/cache@v4
48+
uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf
4949
with:
5050
path: /tmp/.buildx-cache
5151
key: ${{ runner.os }}-buildx-${{ github.sha }}

.github/workflows/branch-remove.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
if: ${{ (github.event.label.name == 'status/feature_testing' || github.event.label.name == 'status/feature_testing_public') || (github.event.action == 'closed' && (contains(github.event.pull_request.labels.*.name, 'status/feature_testing') || contains(github.event.pull_request.labels.*.name, 'status/feature_testing_public'))) }}
1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@1e31de5234b9f8995739874a8ce0492dc87873e2
1717
with:
1818
token: ${{ github.token }}
1919
- name: clone

.github/workflows/build-public-image.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
if: ${{ github.event.label.name == 'status/image_testing' }}
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/checkout@v4
18+
- uses: actions/checkout@1e31de5234b9f8995739874a8ce0492dc87873e2
1919
with:
2020
ref: ${{ github.event.pull_request.head.sha }}
2121
token: ${{ github.token }}
@@ -25,7 +25,7 @@ jobs:
2525
tag='${{ github.event.pull_request.number }}'
2626
echo "tag=${tag}" >> $GITHUB_OUTPUT
2727
- name: Set up JDK
28-
uses: actions/setup-java@v4
28+
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12
2929
with:
3030
java-version: '21'
3131
distribution: 'zulu'
@@ -43,7 +43,7 @@ jobs:
4343
id: buildx
4444
uses: docker/setup-buildx-action@v3
4545
- name: Cache Docker layers
46-
uses: actions/cache@v4
46+
uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf
4747
with:
4848
path: /tmp/.buildx-cache
4949
key: ${{ runner.os }}-buildx-${{ github.sha }}

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838

3939
steps:
4040
- name: Checkout repository
41-
uses: actions/checkout@v4
41+
uses: actions/checkout@1e31de5234b9f8995739874a8ce0492dc87873e2
4242
with:
4343
token: ${{ github.token }}
4444

@@ -48,7 +48,7 @@ jobs:
4848
languages: ${{ matrix.language }}
4949

5050
- name: Set up JDK
51-
uses: actions/setup-java@v4
51+
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12
5252
with:
5353
java-version: '21'
5454
distribution: 'zulu'

.github/workflows/cve_checks.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ jobs:
1818
runs-on: ubuntu-latest
1919

2020
steps:
21-
- uses: actions/checkout@v4
21+
- uses: actions/checkout@1e31de5234b9f8995739874a8ce0492dc87873e2
2222
with:
2323
token: ${{ github.token }}
2424

2525
- name: Set up JDK
26-
uses: actions/setup-java@v4
26+
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12
2727
with:
2828
java-version: '21'
2929
distribution: 'zulu'
@@ -45,7 +45,7 @@ jobs:
4545
uses: docker/setup-buildx-action@v3
4646

4747
- name: Cache Docker layers
48-
uses: actions/cache@v4
48+
uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf
4949
with:
5050
path: /tmp/.buildx-cache
5151
key: ${{ runner.os }}-buildx-${{ github.sha }}

.github/workflows/docker_build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: Checkout
21-
uses: actions/checkout@v4
21+
uses: actions/checkout@1e31de5234b9f8995739874a8ce0492dc87873e2
2222
with:
2323
ref: ${{ github.event.pull_request.head.sha }}
2424
token: ${{ github.token }}
2525

2626
- name: Download artifacts
27-
uses: actions/download-artifact@v4
27+
uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806
2828
with:
2929
name: kafbat-ui-${{ inputs.version }}
3030
path: api/build/libs
@@ -37,7 +37,7 @@ jobs:
3737
uses: docker/setup-buildx-action@v3
3838

3939
- name: Cache Docker layers
40-
uses: actions/cache@v4
40+
uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf
4141
with:
4242
path: /tmp/.buildx-cache
4343
key: ${{ runner.os }}-buildx-${{ inputs.sha }}
@@ -81,7 +81,7 @@ jobs:
8181
docker image save kafka-ui:temp > /tmp/image.tar
8282
8383
- name: Upload docker image
84-
uses: actions/upload-artifact@v4
84+
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1
8585
with:
8686
name: image
8787
path: /tmp/image.tar

.github/workflows/docker_publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
steps:
2727

2828
- name: Download docker image
29-
uses: actions/download-artifact@v4
29+
uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806
3030
with:
3131
name: image
3232
path: /tmp

.github/workflows/e2e-run.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ jobs:
2222
runs-on: ubuntu-latest
2323
steps:
2424
- name: Checkout
25-
uses: actions/checkout@v4
25+
uses: actions/checkout@1e31de5234b9f8995739874a8ce0492dc87873e2
2626
with:
2727
token: ${{ github.token }}
2828
ref: ${{ inputs.sha }}
2929

3030
- name: Set up JDK
31-
uses: actions/setup-java@v4
31+
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12
3232
with:
3333
java-version: '21'
3434
distribution: 'zulu'
@@ -44,7 +44,7 @@ jobs:
4444
-Pversion=latest
4545
4646
- name: Upload build artifacts
47-
uses: actions/upload-artifact@v4
47+
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1
4848
with:
4949
name: artifacts
5050
path: |
@@ -58,7 +58,7 @@ jobs:
5858
docker image save ghcr.io/kafbat/kafka-ui:latest > /tmp/image.tar
5959
6060
- name: Upload docker image
61-
uses: actions/upload-artifact@v4
61+
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1
6262
with:
6363
name: image
6464
path: /tmp/image.tar
@@ -70,26 +70,26 @@ jobs:
7070
steps:
7171

7272
- name: Checkout
73-
uses: actions/checkout@v4
73+
uses: actions/checkout@1e31de5234b9f8995739874a8ce0492dc87873e2
7474
with:
7575
token: ${{ github.token }}
7676
ref: ${{ inputs.sha }}
7777

7878
- name: Set up JDK
79-
uses: actions/setup-java@v4
79+
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12
8080
with:
8181
java-version: '21'
8282
distribution: 'zulu'
8383
cache: 'gradle'
8484

8585
- name: Download build artifacts
86-
uses: actions/download-artifact@v4
86+
uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806
8787
with:
8888
name: artifacts
8989
path: api/build
9090

9191
- name: Download docker image
92-
uses: actions/download-artifact@v4
92+
uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806
9393
with:
9494
name: image
9595
path: /tmp
@@ -121,15 +121,15 @@ jobs:
121121
122122
- name: Upload allure reports artifact
123123
if: '!cancelled()'
124-
uses: actions/upload-artifact@v4
124+
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1
125125
with:
126126
name: reports
127127
path: ./e2e-tests/build/allure-results
128128
retention-days: 7
129129

130130
- name: Upload selenide results artifact
131131
if: failure()
132-
uses: actions/upload-artifact@v4
132+
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1
133133
with:
134134
name: selenide-results
135135
path: ./e2e-tests/build/selenide-results
@@ -141,7 +141,7 @@ jobs:
141141
if: ${{ !cancelled() && github.repository_owner == 'kafbat' }}
142142
steps:
143143
- name: Download allure reports artifact
144-
uses: actions/download-artifact@v4
144+
uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806
145145
with:
146146
name: reports
147147
path: ./e2e-tests/build/allure-results

.github/workflows/frontend_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616

17-
- uses: actions/checkout@v4
17+
- uses: actions/checkout@1e31de5234b9f8995739874a8ce0492dc87873e2
1818
with:
1919
# Disabling shallow clone is recommended for improving relevancy of reporting
2020
fetch-depth: 0

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ jobs:
2020

2121
steps:
2222
- name: Checkout
23-
uses: actions/checkout@v4
23+
uses: actions/checkout@1e31de5234b9f8995739874a8ce0492dc87873e2
2424
with:
2525
ref: ${{ github.event.pull_request.head.sha }}
2626
token: ${{ github.token }}
2727

2828
- name: Set up JDK
29-
uses: actions/setup-java@v4
29+
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12
3030
with:
3131
java-version: '21'
3232
distribution: 'zulu'
@@ -43,7 +43,7 @@ jobs:
4343
-Pversion=$version
4444
4545
- name: Upload jar
46-
uses: actions/upload-artifact@v4
46+
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1
4747
with:
4848
name: kafbat-ui-${{ steps.build.outputs.version }}
4949
path: api/build/libs/api-${{ steps.build.outputs.version }}.jar

.github/workflows/md-links.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ubuntu-latest
1818

1919
steps:
20-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@1e31de5234b9f8995739874a8ce0492dc87873e2
2121
with:
2222
token: ${{ github.token }}
2323
- name: Check URLs in files

.github/workflows/release-serde-api.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13-
- uses: actions/checkout@v4
13+
- uses: actions/checkout@1e31de5234b9f8995739874a8ce0492dc87873e2
1414
with:
1515
fetch-depth: 0
1616
token: ${{ github.token }}
@@ -20,7 +20,7 @@ jobs:
2020
git config user.email github-actions@github.com
2121
2222
- name: Set up JDK
23-
uses: actions/setup-java@v4
23+
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12
2424
with:
2525
java-version: '21'
2626
distribution: 'zulu'

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
outputs:
1616
version: ${{steps.build.outputs.version}}
1717
steps:
18-
- uses: actions/checkout@v4
18+
- uses: actions/checkout@1e31de5234b9f8995739874a8ce0492dc87873e2
1919
with:
2020
fetch-depth: 0
2121
ref: ${{ github.event.pull_request.head.sha }}
@@ -26,7 +26,7 @@ jobs:
2626
git config user.email github-actions@github.com
2727
2828
- name: Set up JDK
29-
uses: actions/setup-java@v4
29+
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12
3030
with:
3131
java-version: '21'
3232
distribution: 'zulu'
@@ -50,7 +50,7 @@ jobs:
5050
tag: ${{ github.event.release.tag_name }}
5151

5252
- name: Archive JAR
53-
uses: actions/upload-artifact@v4
53+
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1
5454
with:
5555
name: kafbat-ui-${{ steps.build.outputs.version }}
5656
path: api/build/libs/api-${{ steps.build.outputs.version }}.jar

.github/workflows/separate_env_public_create.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616

1717
steps:
18-
- uses: actions/checkout@v4
18+
- uses: actions/checkout@1e31de5234b9f8995739874a8ce0492dc87873e2
1919
with:
2020
ref: ${{ github.event.pull_request.head.sha }}
2121
token: ${{ github.token }}
@@ -27,7 +27,7 @@ jobs:
2727
env:
2828
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2929
- name: Set up JDK
30-
uses: actions/setup-java@v4
30+
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12
3131
with:
3232
java-version: '21'
3333
distribution: 'zulu'
@@ -45,7 +45,7 @@ jobs:
4545
id: buildx
4646
uses: docker/setup-buildx-action@v3
4747
- name: Cache Docker layers
48-
uses: actions/cache@v4
48+
uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf
4949
with:
5050
path: /tmp/.buildx-cache
5151
key: ${{ runner.os }}-buildx-${{ github.sha }}

.github/workflows/workflow_linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@1e31de5234b9f8995739874a8ce0492dc87873e2
1717
with:
1818
fetch-depth: 0
1919
ref: ${{ github.event.pull_request.head.sha }}

0 commit comments

Comments
 (0)