Skip to content

Commit 00d590a

Browse files
committed
Add pinning for remaining GHA actions, fix hash bug
Run-GHA: True Required-githooks: true Skip-build: true Skip-test: true Skip-unit-tests: true Signed-off-by: Margaret Lawson <mlawsonca@google.com>
1 parent 19ae3c4 commit 00d590a

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/gcp-weekly.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717

1818
# schedule:
1919
# # temporarily run more frequently so we can validate it works
20-
# - cron: "15 * * * *" # runs at minute 15 of every hour of every day
20+
# - cron: "0 12 * * 6" # runs every Saturday at 12pm (UTC)
2121

2222
# shouldn't need this, should only ever have one running at a time. But just in case
2323
concurrency:
@@ -116,7 +116,7 @@ jobs:
116116
echo "FVERSION=$FVERSION" >> $GITHUB_ENV
117117
echo "COMMIT_STATUS_DISTRO_VERSION=$COMMIT_STATUS_DISTRO_VERSION" >> $GITHUB_ENV
118118
- name: Checkout code
119-
uses: actions/checkout@v4@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
119+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
120120
with:
121121
# DO NOT LAND THIS. This is for testing only
122122
ref: ${{ github.event.pull_request.head.sha }}
@@ -300,7 +300,7 @@ jobs:
300300
echo "LABEL=$LABEL" >> $GITHUB_ENV
301301
echo "INST_RPMS=$INST_RPMS" >> $GITHUB_ENV
302302
- name: Checkout code
303-
uses: actions/checkout@v4@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
303+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
304304
with:
305305
submodules: true
306306
fetch-depth: 500
@@ -345,7 +345,7 @@ jobs:
345345
- name: Publish test results
346346
if: (!cancelled()) && (success() || failure()) &&
347347
steps.run-test.outcome != 'skipped'
348-
uses: EnricoMi/publish-unit-test-result-action@v2
348+
uses: EnricoMi/publish-unit-test-result-action@170bf24d20d201b842d7a52403b73ed297e6645b # v2.18.0
349349
with:
350350
check_name: ${{ env.STAGE_NAME }} Test Results (old)
351351
github_token: ${{ secrets.GITHUB_TOKEN }}
@@ -365,7 +365,7 @@ jobs:
365365
name: ${{ env.STAGE_NAME }} test-results
366366
path: ${{ env.STAGE_NAME }}/**/results.xml
367367
- name: Update commit status
368-
uses: ouzi-dev/commit-status-updater@v2
368+
uses: ouzi-dev/commit-status-updater@26588d166ff273fc4c0664517359948f7cdc9bf1 # v2.0.2
369369
with:
370370
# yamllint disable-line rule:line-length
371371
name: 'test/Functional on ${{ env.DISTRO_NAME }} ${{ env.COMMIT_STATUS_DISTRO_VERSION && env.COMMIT_STATUS_DISTRO_VERSION || env.DISTRO_VERSION }}'
@@ -462,7 +462,7 @@ jobs:
462462
echo "INST_RPMS=$INST_RPMS" >> $GITHUB_ENV
463463
echo "SIZE=$SIZE" >> $GITHUB_ENV
464464
- name: Checkout code
465-
uses: actions/checkout@v4@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
465+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
466466
with:
467467
submodules: true
468468
fetch-depth: 500
@@ -527,7 +527,7 @@ jobs:
527527
name: ${{ env.STAGE_NAME }} test-results
528528
path: ${{ env.STAGE_NAME }}/**/results.xml
529529
- name: Update commit status
530-
uses: ouzi-dev/commit-status-updater@v2
530+
uses: ouzi-dev/commit-status-updater@26588d166ff273fc4c0664517359948f7cdc9bf1 # v2.0.2
531531
with:
532532
name: 'test/Functional Hardware ${{ matrix.stage }}'
533533
status: "${{ job.status }}"

0 commit comments

Comments
 (0)