Skip to content

Commit 8576766

Browse files
ci: Pin GitHub actions versions
This will improve our OpenSSF score card result.
1 parent bd1080e commit 8576766

11 files changed

+19
-19
lines changed

.github/workflows/build.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414

1515
steps:
1616
- name: Checkout code including full history and submodules
17-
uses: actions/checkout@v4
17+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1818
with:
1919
submodules: true
2020
fetch-depth: 0
@@ -42,7 +42,7 @@ jobs:
4242

4343
steps:
4444
- name: Checkout code including full history and submodules
45-
uses: actions/checkout@v4
45+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4646
with:
4747
submodules: true
4848
fetch-depth: 0

.github/workflows/build_and_test.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
steps:
1919
- name: Checkout code including full history and submodules
20-
uses: actions/checkout@v4
20+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2121
with:
2222
submodules: true
2323
fetch-depth: 0

.github/workflows/clang-static-analyzer.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88

99
steps:
1010
- name: Checkout code including full history and submodules
11-
uses: actions/checkout@v4
11+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1212
with:
1313
submodules: true
1414
fetch-depth: 0
@@ -22,7 +22,7 @@ jobs:
2222
run: tools/ci/run_ci.sh --run-build --scan-build scan-build-14
2323

2424
- name: Upload scan build reports
25-
uses: actions/upload-artifact@v4
25+
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
2626
with:
2727
name: Clang Static Analyzer Reports
2828
path: build-wakaama/clang-static-analyzer

.github/workflows/codeql-analysis.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414

1515
steps:
1616
- name: Checkout code including full history and submodules
17-
uses: actions/checkout@v4
17+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1818
with:
1919
submodules: true
2020
fetch-depth: 0
@@ -25,12 +25,12 @@ jobs:
2525
sudo apt-get install cmake libcunit1-dev ninja-build unzip wget
2626
2727
- name: Initialize CodeQL
28-
uses: github/codeql-action/init@v3
28+
uses: github/codeql-action/init@ea9e4e37992a54ee68a9622e985e60c8e8f12d9f # v3.27.4
2929
with:
3030
languages: cpp
3131

3232
- name: Build all binaries
3333
run: tools/ci/run_ci.sh --run-build
3434

3535
- name: Perform CodeQL Analysis
36-
uses: github/codeql-action/analyze@v3
36+
uses: github/codeql-action/analyze@ea9e4e37992a54ee68a9622e985e60c8e8f12d9f # v3.27.4

.github/workflows/compliance.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99

1010
steps:
1111
- name: Checkout code including full history
12-
uses: actions/checkout@v4
12+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1313
with:
1414
fetch-depth: 0
1515

.github/workflows/coverage.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88

99
steps:
1010
- name: Checkout code including full history and submodules
11-
uses: actions/checkout@v4
11+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1212
with:
1313
submodules: true
1414
fetch-depth: 0
@@ -26,7 +26,7 @@ jobs:
2626
--test-coverage html
2727
2828
- name: Upload HTML coverage report
29-
uses: actions/upload-artifact@v4
29+
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
3030
with:
3131
name: Coverage Report (HTML)
3232
path: build-wakaama/coverage

.github/workflows/documentation.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010

1111
steps:
1212
- name: Checkout code including full history and submodules
13-
uses: actions/checkout@v4
13+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1414

1515
- name: Install dependencies from APT repository
1616
run: |
@@ -21,7 +21,7 @@ jobs:
2121
run: tools/ci/run_ci.sh --run-doxygen
2222

2323
- name: Upload Doxygen documentation
24-
uses: actions/upload-artifact@v4
24+
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
2525
with:
2626
name: Doxygen documentation (HTML)
2727
path: build-wakaama/doxygen

.github/workflows/macos.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212

1313
steps:
1414
- name: Checkout code including full history and submodules
15-
uses: actions/checkout@v4
15+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1616
with:
1717
submodules: true
1818
fetch-depth: 0

.github/workflows/multiarch.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ jobs:
1111
arch: ["armv6", "armv7", "aarch64", "s390x", "ppc64le"]
1212
steps:
1313
- name: Checkout code including full history and submodules
14-
uses: actions/checkout@v4
14+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1515
with:
1616
submodules: true
1717
fetch-depth: 0
1818
- name: Build and test
19-
uses: uraimo/[email protected]
19+
uses: uraimo/run-on-arch-action@5397f9e30a9b62422f302092631c99ae1effcd9e # v2.8.1
2020
id: runcmd
2121
with:
2222
arch: ${{ matrix.arch }}

.github/workflows/scorecard.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
# Upload the results to GitHub's code scanning dashboard (optional).
5353
# Commenting out will disable upload of results to your repo's Code Scanning dashboard
5454
- name: "Upload to code-scanning"
55-
uses: github/codeql-action/upload-sarif@v3
55+
uses: github/codeql-action/upload-sarif@ea9e4e37992a54ee68a9622e985e60c8e8f12d9f # v3.27.4
5656
with:
5757
sarif_file: results.sarif
5858

.github/workflows/sonarcloud-scan.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88

99
steps:
1010
- name: Checkout code including full history and submodules
11-
uses: actions/checkout@v4
11+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1212
with:
1313
submodules: true
1414
fetch-depth: 0
@@ -19,7 +19,7 @@ jobs:
1919
sudo apt-get install cmake gcovr libcunit1-dev ninja-build unzip wget
2020
2121
- name: Install sonar-scanner and build-wrapper
22-
uses: sonarsource/sonarcloud-github-c-cpp@v2
22+
uses: sonarsource/sonarcloud-github-c-cpp@e4882e1621ad2fb48dddfa48287411bed34789b1 # v2.0.2
2323

2424
- name: Collect test coverage data
2525
run: |

0 commit comments

Comments
 (0)