Skip to content

Commit e9fe622

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

13 files changed

Lines changed: 34 additions & 34 deletions

.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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3232
with:
3333
persist-credentials: false
3434

.github/workflows/ci.yml

Lines changed: 5 additions & 5 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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3333
with:
3434
fetch-depth: 0
3535
persist-credentials: false
@@ -58,7 +58,7 @@ jobs:
5858
tar -czf /tmp/artifacts/targets.tar.gz $(find . -name "target" -type d) tools/marvin/dist engine/schema/dist utils/conf
5959
tar -czf /tmp/artifacts/m2-cloudstack.tar.gz -C ~/.m2/repository org/apache/cloudstack
6060
- name: Upload artifacts
61-
uses: actions/upload-artifact@v7
61+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
6262
with:
6363
name: build-artifacts
6464
path: /tmp/artifacts/
@@ -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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
255255
with:
256256
fetch-depth: 0
257257
persist-credentials: false
@@ -293,7 +293,7 @@ jobs:
293293
sudo systemctl restart mysql
294294
sudo mysql -uroot -e "SELECT VERSION();"
295295
- name: Download artifacts
296-
uses: actions/download-artifact@v8
296+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
297297
with:
298298
name: build-artifacts
299299
path: /tmp/artifacts/
@@ -348,7 +348,7 @@ jobs:
348348
echo -e "Simulator CI Test Results: (only failures listed)\n"
349349
python3 ./tools/marvin/xunit-reader.py integration-test-results/
350350
351-
- uses: codecov/codecov-action@v6
351+
- uses: codecov/codecov-action@e79a6962e0d4c0c17b229090214935d2e33f8354 # v6.0.1
352352
with:
353353
files: jacoco-coverage.xml
354354
fail_ci_if_error: true

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,16 @@ jobs:
3535
language: ["actions"]
3636
steps:
3737
- name: Checkout repository
38-
uses: actions/checkout@v6
38+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3939
with:
4040
persist-credentials: false
4141
- name: Initialize CodeQL
42-
uses: github/codeql-action/init@v4
42+
uses: github/codeql-action/init@9e0d7b8d25671d64c341c19c0152d693099fb5ba # v4.35.5
4343
with:
4444
languages: ${{ matrix.language }}
4545
- name: Autobuild
46-
uses: github/codeql-action/autobuild@v4
46+
uses: github/codeql-action/autobuild@9e0d7b8d25671d64c341c19c0152d693099fb5ba # v4.35.5
4747
- name: Perform CodeQL Analysis
48-
uses: github/codeql-action/analyze@v4
48+
uses: github/codeql-action/analyze@9e0d7b8d25671d64c341c19c0152d693099fb5ba # v4.35.5
4949
with:
5050
category: "Security"

.github/workflows/daily-repo-status.lock.yml

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
runs-on: ubuntu-24.04
3939
steps:
4040
- name: Login to Docker Registry
41-
uses: docker/login-action@v4
41+
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
4242
with:
4343
registry: ${{ secrets.DOCKER_REGISTRY }}
4444
username: ${{ secrets.DOCKERHUB_USER }}
@@ -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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5151
with:
5252
persist-credentials: false
5353

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

Lines changed: 3 additions & 3 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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # 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
@@ -55,7 +55,7 @@ jobs:
5555
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5656
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
5757
run: mvn -B -P quality org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=apache_cloudstack -Dsonar.branch.name=${{ github.ref_name }}
58-
- uses: codecov/codecov-action@v4
58+
- uses: codecov/codecov-action@e79a6962e0d4c0c17b229090214935d2e33f8354 # v6.0.1
5959
with:
6060
files: ./client/target/site/jacoco-aggregate/jacoco.xml
6161
fail_ci_if_error: true

.github/workflows/merge-conflict-checker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
runs-on: ubuntu-24.04
3434
steps:
3535
- name: Conflict Check
36-
uses: eps1lon/actions-label-merge-conflict@v3.0.3
36+
uses: eps1lon/actions-label-merge-conflict@1df065ebe6e3310545d4f4c4e862e43bdca146f0 # v3.0.3
3737
with:
3838
repoToken: "${{ secrets.GITHUB_TOKEN }}"
3939
dirtyLabel: "status:has-conflicts"

.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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # 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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3232
with:
3333
persist-credentials: false
3434
- name: Setup Environment

0 commit comments

Comments
 (0)