Skip to content

Commit 110a5bd

Browse files
committed
Use hashed versions instead of tags for actions
1 parent 4ba73c9 commit 110a5bd

10 files changed

Lines changed: 16 additions & 16 deletions

File tree

.github/actions/setup-env/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ runs:
3636
using: "composite"
3737
steps:
3838
- name: Set up JDK ${{ inputs.java-version }}
39-
uses: actions/setup-java@v5
39+
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
4040
with:
4141
java-version: ${{ inputs.java-version }}
4242
distribution: 'adopt'
@@ -45,7 +45,7 @@ runs:
4545

4646
- name: Set up Python
4747
if: ${{ inputs.install-python == 'true' }}
48-
uses: actions/setup-python@v6
48+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
4949
with:
5050
python-version: '3.10'
5151
architecture: x64

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
build:
2929
runs-on: ubuntu-24.04
3030
steps:
31-
- uses: actions/checkout@v6
31+
- uses: actions/checkout@vde0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3232
with:
3333
persist-credentials: false
3434

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
if: github.repository == 'apache/cloudstack'
3030
runs-on: ubuntu-24.04
3131
steps:
32-
- uses: actions/checkout@v6
32+
- uses: actions/checkout@vde0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3333
with:
3434
fetch-depth: 0
3535
persist-credentials: false
@@ -251,7 +251,7 @@ jobs:
251251
smoke/test_list_storage_pools
252252
smoke/test_list_volumes"]
253253
steps:
254-
- uses: actions/checkout@v6
254+
- uses: actions/checkout@vde0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
255255
with:
256256
fetch-depth: 0
257257
persist-credentials: false

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
language: ["actions"]
3636
steps:
3737
- name: Checkout repository
38-
uses: actions/checkout@v6
38+
uses: actions/checkout@vde0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3939
with:
4040
persist-credentials: false
4141
- name: Initialize CodeQL

.github/workflows/docker-cloudstack-simulator.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
- name: Set Docker repository name
4848
run: echo "DOCKER_REPOSITORY=apache" >> $GITHUB_ENV
4949

50-
- uses: actions/checkout@v6
50+
- uses: actions/checkout@vde0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5151
with:
5252
persist-credentials: false
5353

.github/workflows/main-sonar-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
name: Sonar JaCoCo Coverage
3232
runs-on: ubuntu-24.04
3333
steps:
34-
- uses: actions/checkout@v6
34+
- uses: actions/checkout@vde0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3535
with:
3636
fetch-depth: 0
3737
persist-credentials: false
@@ -41,7 +41,7 @@ jobs:
4141
install-python: 'true'
4242
install-apt-deps: 'true'
4343
- name: Cache SonarCloud packages
44-
uses: actions/cache@v5
44+
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
4545
with:
4646
path: ~/.sonar/cache
4747
key: ${{ runner.os }}-sonar

.github/workflows/pre-commit.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ jobs:
3232
runs-on: ubuntu-24.04
3333
steps:
3434
- name: Check Out
35-
uses: actions/checkout@v6
35+
uses: actions/checkout@vde0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3636
with:
3737
persist-credentials: false
3838
- name: Set up Python
39-
uses: actions/setup-python@v6
39+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
4040
with:
4141
python-version: '3.11'
4242
cache: 'pip'
@@ -45,7 +45,7 @@ jobs:
4545
- name: Set PY
4646
run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
4747
- name: Cache pre-commit environments
48-
uses: actions/cache@v5
48+
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
4949
with:
5050
path: ~/.cache/pre-commit
5151
key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}

.github/workflows/rat.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
build:
2929
runs-on: ubuntu-24.04
3030
steps:
31-
- uses: actions/checkout@v6
31+
- uses: actions/checkout@vde0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3232
with:
3333
persist-credentials: false
3434
- name: Setup Environment

.github/workflows/sonar-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
name: Sonar JaCoCo Coverage
3030
runs-on: ubuntu-24.04
3131
steps:
32-
- uses: actions/checkout@v6
32+
- uses: actions/checkout@vde0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3333
with:
3434
fetch-depth: 0
3535
persist-credentials: false
@@ -39,7 +39,7 @@ jobs:
3939
install-python: 'true'
4040
install-apt-deps: 'true'
4141
- name: Cache SonarCloud packages
42-
uses: actions/cache@v5
42+
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
4343
with:
4444
path: ~/.sonar/cache
4545
key: ${{ runner.os }}-sonar

.github/workflows/ui.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
runs-on: ubuntu-24.04
3232

3333
steps:
34-
- uses: actions/checkout@v6
34+
- uses: actions/checkout@vde0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3535
with:
3636
persist-credentials: false
3737

0 commit comments

Comments
 (0)