Skip to content

Commit b201d3a

Browse files
committed
fix(ci): fix mismatched action version comments for zizmor security scanner
1 parent 0dc81e3 commit b201d3a

1 file changed

Lines changed: 14 additions & 15 deletions

File tree

.github/workflows/gapic-generator-tests.yml

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ jobs:
3131
outputs:
3232
run_generator: ${{ steps.filter.outputs.generator }}
3333
steps:
34-
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
34+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v4
3535
with:
3636
persist-credentials: false
37-
- uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4
37+
- uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v3
3838
id: filter
3939
with:
4040
filters: |
@@ -65,11 +65,11 @@ jobs:
6565
logging_scope: ["", "google"]
6666
runs-on: ubuntu-latest
6767
steps:
68-
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
68+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v4
6969
with:
7070
persist-credentials: false
7171
- name: Set up Python
72-
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6
72+
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v5
7373
with:
7474
python-version: "${{ matrix.python }}"
7575
allow-prereleases: true
@@ -98,11 +98,11 @@ jobs:
9898
needs: python_config
9999
runs-on: ubuntu-latest
100100
steps:
101-
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
101+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v4
102102
with:
103103
persist-credentials: false
104104
- name: Set up Python
105-
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6
105+
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v5
106106
with:
107107
python-version: ${{ needs.python_config.outputs.latest_stable_python }}
108108
- name: Install System Deps
@@ -117,11 +117,11 @@ jobs:
117117
needs: python_config
118118
runs-on: ubuntu-latest
119119
steps:
120-
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
120+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v4
121121
with:
122122
persist-credentials: false
123123
- name: Set up Python
124-
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6
124+
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v5
125125
with:
126126
python-version: ${{ needs.python_config.outputs.latest_stable_python }}
127127
- name: Install System Deps
@@ -151,11 +151,11 @@ jobs:
151151
needs: python_config
152152
runs-on: ubuntu-latest
153153
steps:
154-
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
154+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v4
155155
with:
156156
persist-credentials: false
157157
- name: Set up Python ${{ needs.python_config.outputs.prerelease_python }}
158-
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6
158+
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v5
159159
with:
160160
python-version: ${{ needs.python_config.outputs.prerelease_python }}
161161
allow-prereleases: true
@@ -181,11 +181,11 @@ jobs:
181181
python: ${{ fromJSON(needs.python_config.outputs.trimmed_python) }}
182182
runs-on: ubuntu-latest
183183
steps:
184-
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
184+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v4
185185
with:
186186
persist-credentials: false
187187
- name: Set up Python
188-
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6
188+
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v5
189189
with:
190190
python-version: ${{ matrix.python }}
191191
allow-prereleases: true
@@ -221,12 +221,12 @@ jobs:
221221
runs-on: ubuntu-latest
222222
container: gcr.io/gapic-images/googleapis # zizmor: ignore[unpinned-images]
223223
steps:
224-
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
224+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v4
225225
with:
226226
persist-credentials: false
227227
- name: Cache Bazel files
228228
id: cache-bazel
229-
uses: actions/cache@caa296126883cff596d87d8935842f9db880ef25 # v5
229+
uses: actions/cache@caa296126883cff596d87d8935842f9db880ef25 # v4
230230
with:
231231
path: ~/.cache/bazel
232232
# Ensure CACHE_VERSION is defined in the mono-repo secrets!
@@ -261,4 +261,3 @@ jobs:
261261
exit 1
262262
fi
263263
echo "All checks passed or were successfully skipped."
264-

0 commit comments

Comments
 (0)