@@ -100,8 +100,9 @@ jobs:
100100 gha : ${{steps.filter.outputs.gha}}
101101 gha_files : ${{steps.filter.outputs.gha_files}}
102102
103- # The following all test both the relevant file condition & the CI config
104- # because a change in the CI workflows can affect the CI check results.
103+ # The rest all test both the relevant files and ALSO tools & scripts b/c
104+ # a change in the CI workflows or scripts can affect the check results.
105+
105106 python : ${{steps.filter.outputs.python || steps.filter.outputs.ci}}
106107 python_files : ${{steps.filter.outputs.python_files}}
107108
@@ -148,7 +149,7 @@ jobs:
148149 echo base=${{github.ref_name}} >> "$GITHUB_ENV"
149150
150151 - name : Check out a copy of the OpenFermion git repository
151- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
152+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4
152153
153154 - name : Determine files changed by this ${{github.event_name}} event
154155 uses : dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3
@@ -159,9 +160,10 @@ jobs:
159160 # The outputs will be variables named "foo_files" for a filter "foo".
160161 filters : |
161162 ci:
162- - './.github/workflows/ci.yml'
163- - './.github/workflows/codeql.yaml'
164- - './.github/workflows/osv-scanner.yaml'
163+ - './.github/workflows/**'
164+ - './.github/problem-matchers/**'
165+ - './check/**'
166+ - './dev_tools/**'
165167 cff:
166168 - added|modified:
167169 - '**/CITATION.cff'
@@ -197,10 +199,10 @@ jobs:
197199 timeout-minutes : 10
198200 steps :
199201 - name : Check out a copy of the git repository
200- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
202+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4
201203
202204 - name : Set up Python with caching of pip dependencies
203- uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
205+ uses : actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
204206 with :
205207 python-version : ${{inputs.python_ver || env.python_ver}}
206208 architecture : ' x64'
@@ -226,12 +228,12 @@ jobs:
226228 timeout-minutes : 10
227229 steps :
228230 - name : Check out a copy of the git repository
229- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
231+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4
230232 with :
231233 fetch-depth : 0
232234
233235 - name : Set up Python and restore cache
234- uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
236+ uses : actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
235237 with :
236238 python-version : ${{inputs.python_ver || env.python_ver}}
237239 architecture : ' x64'
@@ -255,10 +257,10 @@ jobs:
255257 timeout-minutes : 10
256258 steps :
257259 - name : Check out a copy of the git repository
258- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
260+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4
259261
260262 - name : Set up Python and restore cache
261- uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
263+ uses : actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
262264 with :
263265 python-version : ${{inputs.python_ver || env.python_ver}}
264266 architecture : ' x64'
@@ -282,10 +284,10 @@ jobs:
282284 timeout-minutes : 10
283285 steps :
284286 - name : Check out a copy of the git repository
285- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
287+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4
286288
287289 - name : Set up Python and restore cache
288- uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
290+ uses : actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
289291 with :
290292 python-version : ${{inputs.python_ver || env.python_ver}}
291293 architecture : ' x64'
@@ -322,10 +324,10 @@ jobs:
322324 fail-fast : false
323325 steps :
324326 - name : Check out a copy of the git repository
325- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
327+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4
326328
327329 - name : Set up Python and restore cache
328- uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
330+ uses : actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
329331 with :
330332 python-version : ${{inputs.python_ver || env.python_ver}}
331333 cache : pip
@@ -369,10 +371,10 @@ jobs:
369371 fail-fast : false
370372 steps :
371373 - name : Check out a copy of the git repository
372- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
374+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4
373375
374376 - name : Set up Python and restore cache
375- uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
377+ uses : actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
376378 with :
377379 python-version : ${{inputs.python_ver || env.python_ver}}
378380 cache : pip
@@ -411,12 +413,12 @@ jobs:
411413 timeout-minutes : 15
412414 steps :
413415 - name : Check out a copy of the git repository
414- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
416+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4
415417
416418 # Note: deliberately not using our Python cache here b/c this runs
417419 # a different version of Python.
418420 - name : Set up Python and restore cache
419- uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
421+ uses : actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
420422 with :
421423 python-version : ${{env.python_compat_ver}}
422424
@@ -437,12 +439,12 @@ jobs:
437439 timeout-minutes : 15
438440 steps :
439441 - name : Check out a copy of the git repository
440- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
442+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4
441443 with :
442444 fetch-depth : 0
443445
444446 - name : Set up Python and restore cache
445- uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
447+ uses : actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
446448 with :
447449 python-version : ${{inputs.python_ver || env.python_ver}}
448450 cache : pip
@@ -467,7 +469,7 @@ jobs:
467469 changed_files : ${{needs.changes.outputs.yaml_files}}
468470 steps :
469471 - name : Check out a copy of the git repository
470- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
472+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4
471473
472474 - name : Set up yamllint output problem matcher
473475 run : echo "::add-matcher::.github/problem-matchers/yamllint.json"
@@ -488,7 +490,7 @@ jobs:
488490 changed_files : ${{needs.changes.outputs.json_files}}
489491 steps :
490492 - name : Check out a copy of the git repository
491- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
493+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4
492494
493495 - name : Install jsonlint
494496 run : npm install -g @prantlf/jsonlint
@@ -509,7 +511,7 @@ jobs:
509511 changed_files : ${{needs.changes.outputs.cff_files}}
510512 steps :
511513 - name : Check out a copy of the git repository
512- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
514+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4
513515
514516 - name : Install cffconvert
515517 run : pip install cffconvert
@@ -528,7 +530,7 @@ jobs:
528530 changed_files : ${{needs.changes.outputs.docker_files}}
529531 steps :
530532 - name : Check out a copy of the git repository
531- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
533+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4
532534
533535 # Note: there is a hadolint GitHub Actions available, but it only accepts
534536 # one Dockerfile to check. We have > 1 file to check, so we need the CLI.
@@ -552,11 +554,11 @@ jobs:
552554 changed_files : ${{needs.changes.outputs.gha_files}}
553555 steps :
554556 - name : Check out a copy of the git repository
555- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
557+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4
556558
557559 # The next action simply fails if there are any unpinned actions.
558560 - name : Verify that all workflow actions have pinned versions
559- uses : zgosalvez/github-actions-ensure-sha-pinned-actions@fc87bb5b5a97953d987372e74478de634726b3e5
561+ uses : zgosalvez/github-actions-ensure-sha-pinned-actions@9e9574ef04ea69da568d6249bd69539ccc704e74
560562
561563 # If we didn't fail the previous check, go on to more time-consuming ones.
562564 - name : Install actionlint
@@ -578,7 +580,7 @@ jobs:
578580 changed_files : ${{needs.changes.outputs.shell_files}}
579581 steps :
580582 - name : Check out a copy of the git repository
581- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
583+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4
582584
583585 - name : Set up shellcheck output problem matcher
584586 run : echo "::add-matcher::.github/problem-matchers/shellcheck.json"
@@ -602,10 +604,10 @@ jobs:
602604 timeout-minutes : 5
603605 steps :
604606 - name : Check out a copy of the git repository
605- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
607+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4
606608
607609 - name : Set up Python with caching of pip dependencies
608- uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
610+ uses : actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
609611 with :
610612 python-version : ${{inputs.python_ver || env.python_ver}}
611613 architecture : ' x64'
0 commit comments