Skip to content

Commit e8b1443

Browse files
SRE-3690 cq: Bump GHA versions and trivy ignore (#17783)
Updates `actions/checkout` from 5.0.0 to 6.0.2 Updates `EnricoMi/publish-unit-test-result-action` from 2.20.0 to 2.23.0 Updates `actions/upload-artifact` from 4 to 7 Updates `actions/setup-python` from 6.0.0 to 6.2.0 Updates `codespell-project/actions-codespell` from 2.1 to 2.2 Updates `github/codeql-action` from 4.30.7 to 4.34.1 Updates `dorny/test-reporter` from 2.1.1 to 3.0.0 Updates `aquasecurity/trivy-action` from 0.33.1 to 0.35.0 Bumps org.apache.logging.log4j:log4j-core from 2.17.1 to 2.25.3. Ignore the GHSA-72hv-8253-57qq vulnerability reported in com.fasterxml.jackson.core:jackson-core 2.14.3 The com.fasterxml.jackson.core:jackson-core can not be upgraded as it is a part of org.apache.hadoop:hadoop-common:3.4.2::2d40acbf and there is no new version of hadoop. Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Dalton Bohning <dalton.bohning@hpe.com> Co-authored-by: Tomasz Gromadzki <tomasz.gromadzki@hpe.com>
1 parent bfa565d commit e8b1443

15 files changed

Lines changed: 75 additions & 65 deletions

.github/workflows/bash_unit_testing.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ jobs:
2020
runs-on: [self-hosted, light]
2121
steps:
2222
- name: Checkout code
23-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
23+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2424
with:
2525
ref: ${{ github.event.pull_request.head.sha }}
2626
- name: Checkout bash_unit project
27-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
27+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2828
with:
2929
repository: 'pgrange/bash_unit'
3030
path: bash_unit

.github/workflows/bullseye-coverage.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ jobs:
109109
matrix: ${{ steps.matrix.outputs.text }}
110110
steps:
111111
- name: Checkout code
112-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
112+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
113113
with:
114114
ref: ${{ github.event.pull_request.head.sha }}
115115
- name: Import commit pragmas
@@ -235,7 +235,7 @@ jobs:
235235
COMMIT_STATUS_DISTRO_VERSION:
236236
steps:
237237
- name: Checkout code
238-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
238+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
239239
with:
240240
submodules: true
241241
fetch-depth: 500
@@ -366,22 +366,22 @@ jobs:
366366
if: (!cancelled()) && (success() || failure()) &&
367367
steps.run-test.outcome != 'skipped'
368368
# yamllint disable-line rule:line-length
369-
uses: EnricoMi/publish-unit-test-result-action@3a74b2957438d0b6e2e61d67b05318aa25c9e6c6 # v2.20.0
369+
uses: EnricoMi/publish-unit-test-result-action@c950f6fb443cb5af20a377fd0dfaa78838901040 # v2.23.0
370370
with:
371371
check_name: ${{ env.STAGE_NAME }} Test Results
372372
github_token: ${{ secrets.GITHUB_TOKEN }}
373373
junit_files: ${{ env.STAGE_NAME }}/**/results.xml
374374
- name: Publish artifacts
375375
if: (!cancelled()) && (success() || failure()) &&
376376
steps.run-test.outcome != 'skipped'
377-
uses: actions/upload-artifact@v4
377+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
378378
with:
379379
name: ${{ env.STAGE_NAME }} artifacts
380380
path: ${{ env.STAGE_NAME }}/**
381381
- name: Upload test results
382382
if: (success() || failure()) &&
383383
steps.run-test.outcome != 'skipped'
384-
uses: actions/upload-artifact@v4
384+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
385385
with:
386386
name: ${{ env.STAGE_NAME }} test-results
387387
path: ${{ env.STAGE_NAME }}/**/results.xml
@@ -409,7 +409,7 @@ jobs:
409409
matrix: ${{ steps.matrix.outputs.text }}
410410
steps:
411411
- name: Checkout code
412-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
412+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
413413
with:
414414
ref: ${{ github.event.pull_request.head.sha }}
415415
- name: Import commit pragmas
@@ -519,7 +519,7 @@ jobs:
519519
SIZE:
520520
steps:
521521
- name: Checkout code
522-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
522+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
523523
with:
524524
submodules: true
525525
fetch-depth: 500
@@ -634,22 +634,22 @@ jobs:
634634
if: (!cancelled()) && (success() || failure()) &&
635635
steps.run-test.outcome != 'skipped'
636636
# yamllint disable-line rule:line-length
637-
uses: EnricoMi/publish-unit-test-result-action@3a74b2957438d0b6e2e61d67b05318aa25c9e6c6 # v2.20.0
637+
uses: EnricoMi/publish-unit-test-result-action@c950f6fb443cb5af20a377fd0dfaa78838901040 # v2.23.0
638638
with:
639639
check_name: ${{ env.STAGE_NAME }} Test Results
640640
github_token: ${{ secrets.GITHUB_TOKEN }}
641641
junit_files: ${{ env.STAGE_NAME }}/**/results.xml
642642
- name: Publish artifacts
643643
if: (!cancelled()) && (success() || failure()) &&
644644
steps.run-test.outcome != 'skipped'
645-
uses: actions/upload-artifact@v4
645+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
646646
with:
647647
name: ${{ env.STAGE_NAME }} artifacts
648648
path: ${{ env.STAGE_NAME }}/**
649649
- name: Upload test results
650650
if: (success() || failure()) &&
651651
steps.run-test.outcome != 'skipped'
652-
uses: actions/upload-artifact@v4
652+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
653653
with:
654654
name: ${{ env.STAGE_NAME }} test-results
655655
path: ${{ env.STAGE_NAME }}/**/results.xml

.github/workflows/ci2.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
DOCKER_BASE: ${{ matrix.base }}
3535
steps:
3636
- name: Checkout code
37-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
37+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3838
with:
3939
submodules: true
4040
fetch-depth: 500
@@ -68,7 +68,7 @@ jobs:
6868
- name: Publish NLT test results
6969
if: always()
7070
# yamllint disable-line rule:line-length
71-
uses: EnricoMi/publish-unit-test-result-action@3a74b2957438d0b6e2e61d67b05318aa25c9e6c6 # v2.20.0
71+
uses: EnricoMi/publish-unit-test-result-action@c950f6fb443cb5af20a377fd0dfaa78838901040 # v2.23.0
7272
with:
7373
github_token: ${{ secrets.GITHUB_TOKEN }}
7474
files: nlt-junit.xml
@@ -100,7 +100,7 @@ jobs:
100100
COMPILER: ${{ matrix.compiler }}
101101
steps:
102102
- name: Checkout code
103-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
103+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
104104
with:
105105
submodules: true
106106
fetch-depth: 500

.github/workflows/create_release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
permissions:
1919
contents: write
2020
steps:
21-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
21+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2222
with:
2323
fetch-depth: 2
2424
- uses: ./.github/actions/make_release

.github/workflows/landing-builds.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
DOCKER_BASE: ${{ matrix.base }}
6161
steps:
6262
- name: Checkout code
63-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
63+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
6464
with:
6565
fetch-depth: 500
6666
- name: Setup git hash
@@ -107,7 +107,7 @@ jobs:
107107
COMPILER: clang
108108
steps:
109109
- name: Checkout code
110-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
110+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
111111
with:
112112
submodules: true
113113
fetch-depth: 500
@@ -139,7 +139,7 @@ jobs:
139139
- name: Publish NLT test results
140140
if: always()
141141
# yamllint disable-line rule:line-length
142-
uses: EnricoMi/publish-unit-test-result-action@3a74b2957438d0b6e2e61d67b05318aa25c9e6c6 # v2.20.0
142+
uses: EnricoMi/publish-unit-test-result-action@c950f6fb443cb5af20a377fd0dfaa78838901040 # v2.23.0
143143
with:
144144
github_token: ${{ secrets.GITHUB_TOKEN }}
145145
files: nlt-junit.xml
@@ -176,7 +176,7 @@ jobs:
176176
COMPILER: ${{ matrix.compiler }}
177177
steps:
178178
- name: Checkout code
179-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
179+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
180180
with:
181181
submodules: true
182182
fetch-depth: 500
@@ -250,7 +250,7 @@ jobs:
250250
BASE_DISTRO: ${{ matrix.with }}
251251
steps:
252252
- name: Checkout code
253-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
253+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
254254
with:
255255
submodules: true
256256
- name: Build dependencies in image.
@@ -338,7 +338,7 @@ jobs:
338338
COMPILER: ${{ matrix.compiler }}
339339
steps:
340340
- name: Checkout code
341-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
341+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
342342
with:
343343
submodules: true
344344
- name: Build dependencies in image.

.github/workflows/linting.yml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ jobs:
2121
runs-on: ubuntu-latest
2222
steps:
2323
- name: Checkout code
24-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
24+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2525
with:
2626
ref: ${{ github.event.pull_request.head.sha }}
2727
- name: Set up Python environment
28-
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
28+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
2929
with:
3030
python-version: '3'
3131
- name: Install extra python packages
@@ -44,7 +44,7 @@ jobs:
4444
runs-on: ubuntu-24.04
4545
steps:
4646
- name: Checkout code
47-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
47+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4848
with:
4949
ref: ${{ github.event.pull_request.head.sha }}
5050
- name: Run
@@ -62,7 +62,7 @@ jobs:
6262
runs-on: ubuntu-24.04
6363
steps:
6464
- name: Checkout code
65-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
65+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
6666
with:
6767
ref: ${{ github.event.pull_request.head.sha }}
6868
- name: Check DAOS logging macro use.
@@ -73,7 +73,7 @@ jobs:
7373
runs-on: ubuntu-24.04
7474
steps:
7575
- name: Checkout code
76-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
76+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
7777
- name: Check DAOS ftest tags.
7878
run: \[ ! -x src/tests/ftest/tags.py \] || ./src/tests/ftest/tags.py lint --verbose
7979

@@ -82,11 +82,11 @@ jobs:
8282
name: Flake8 check
8383
steps:
8484
- name: Check out source repository
85-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
85+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
8686
with:
8787
ref: ${{ github.event.pull_request.head.sha }}
8888
- name: Set up Python environment
89-
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
89+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
9090
with:
9191
python-version: '3'
9292
- name: Add parser
@@ -115,7 +115,7 @@ jobs:
115115
runs-on: ubuntu-24.04
116116
steps:
117117
- name: Checkout code
118-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
118+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
119119
with:
120120
ref: ${{ github.event.pull_request.head.sha }}
121121
- name: Install doxygen
@@ -125,7 +125,7 @@ jobs:
125125
- name: Run check
126126
run: doxygen Doxyfile
127127
- name: 'Upload Artifact'
128-
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
128+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
129129
with:
130130
name: API Documentation
131131
path: docs/doxygen/html/
@@ -136,10 +136,10 @@ jobs:
136136
runs-on: ubuntu-24.04
137137
steps:
138138
- name: Checkout code
139-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
139+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
140140
with:
141141
ref: ${{ github.event.pull_request.head.sha }}
142-
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
142+
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
143143
with:
144144
python-version: '3.11'
145145
- name: Install python packages
@@ -156,11 +156,11 @@ jobs:
156156
runs-on: ubuntu-24.04
157157
steps:
158158
- name: Checkout code
159-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
159+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
160160
- name: Install extra python packages
161161
run: python3 -m pip install --requirement utils/cq/requirements.txt
162162
- name: Run check
163-
uses: codespell-project/actions-codespell@406322ec52dd7b488e48c1c4b82e2a8b3a1bf630 # master
163+
uses: codespell-project/actions-codespell@8f01853be192eb0f849a5c7d721450e7a467c579 # master
164164
with:
165165
skip: ./src/control/vendor,./src/control/go.sum,./.git
166166
ignore_words_file: ci/codespell.ignores
@@ -171,15 +171,15 @@ jobs:
171171
runs-on: ubuntu-22.04
172172
steps:
173173
- name: Checkout code
174-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
174+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
175175
- name: Pull via git
176176
run: git fetch origin ${{ github.event.pull_request.base.ref }}
177177
- name: Run check in docker
178178
uses: ./.github/actions/clang-format
179179
with:
180180
target: origin/${{ github.event.pull_request.base.ref }}
181181
- name: Export changes
182-
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
182+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
183183
if: failure()
184184
with:
185185
name: format-patch-for-pr-${{ github.event.pull_request.number }}
@@ -190,11 +190,11 @@ jobs:
190190
runs-on: ubuntu-22.04
191191
steps:
192192
- name: Check out source repository
193-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
193+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
194194
with:
195195
ref: ${{ github.event.pull_request.head.sha }}
196196
- name: Set up Python environment
197-
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
197+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
198198
with:
199199
python-version: '3'
200200
- name: Install extra python packages
@@ -207,7 +207,7 @@ jobs:
207207
runs-on: ubuntu-24.04
208208
steps:
209209
- name: Check out source repository
210-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
210+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
211211
with:
212212
ref: ${{ github.event.pull_request.head.sha }}
213213
fetch-depth: 0

.github/workflows/ossf-scorecard.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333

3434
steps:
3535
- name: "Checkout code"
36-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
36+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3737
with:
3838
persist-credentials: false
3939

@@ -62,7 +62,7 @@ jobs:
6262
# uploads of run results in SARIF
6363
# format to the repository Actions tab.
6464
- name: "Upload artifact"
65-
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
65+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
6666
with:
6767
name: SARIF file
6868
path: results.sarif
@@ -71,6 +71,6 @@ jobs:
7171
# Upload the results to GitHub's code scanning dashboard (optional).
7272
# Commenting out will disable upload of results to your repo's Code Scanning dashboard
7373
- name: "Upload to code-scanning"
74-
uses: github/codeql-action/upload-sarif@e296a935590eb16afc0c0108289f68c87e2a89a5 # v4.30.7
74+
uses: github/codeql-action/upload-sarif@38697555549f1db7851b81482ff19f1fa5c4fedc # v4.34.1
7575
with:
7676
sarif_file: results.sarif

.github/workflows/pr-metadata.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
name: Report Jira data to PR comment
2020
steps:
2121
- name: Checkout
22-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
22+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2323
- name: install jira
2424
run: python3 -m pip install jira
2525
- name: Load jira metadata

.github/workflows/rpm-build-and-test-report.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
esac
9494
echo "STAGE_NAME=Build RPM on $DISTRO_NAME $DISTRO_VERSION" >> $GITHUB_ENV
9595
- name: Test Report
96-
uses: dorny/test-reporter@dc3a92680fcc15842eef52e8c4606ea7ce6bd3f3 # v2.1.1
96+
uses: dorny/test-reporter@a43b3a5f7366b97d083190328d2c652e1a8b6aa2 # v3.0.0
9797
with:
9898
artifact: ${{ env.STAGE_NAME }} test-results
9999
name: ${{ env.STAGE_NAME }} Test Results (dorny)
@@ -112,7 +112,7 @@ jobs:
112112
- name: Set variables
113113
run: echo "STAGE_NAME=Functional Hardware ${{ matrix.stage }}" >> $GITHUB_ENV
114114
- name: Test Report
115-
uses: dorny/test-reporter@dc3a92680fcc15842eef52e8c4606ea7ce6bd3f3 # v2.1.1
115+
uses: dorny/test-reporter@a43b3a5f7366b97d083190328d2c652e1a8b6aa2 # v3.0.0
116116
with:
117117
artifact: ${{ env.STAGE_NAME }} test-results
118118
name: ${{ env.STAGE_NAME }} Test Results (dorny)

0 commit comments

Comments
 (0)