File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # Configuration related to self-hosted runners .
1+ # Avoid warnings about unrecognized runner types .
22self-hosted-runner :
3- # Labels of self-hosted runner in array of strings.
43 labels :
54 - linux-amd64-*
65 - linux-arm64-*
76
8- # Configuration variables in array of strings defined in your repository or organization .
7+ # Avoid warnings about referencing things in ${{ vars.* }} statements .
98config-variables :
109 - AWS_REGION
1110 - AWS_ROLE_ARN
1211 - TELEMETRY_ENABLED
12+
13+ paths :
14+ .github/workflows/conda-python-tests.yaml :
15+ ignore :
16+ # ${{ secrets.CODECOV_TOKEN }} is valid if a secret like that exists in the calling repo,
17+ # and we're confident that it's there in our repos, so this error can be silenced
18+ - ' property "codecov_token" is not defined in object type'
Original file line number Diff line number Diff line change @@ -195,7 +195,7 @@ jobs:
195195 GH_TOKEN : ${{ inputs.alternative-gh-token-secret-name && secrets[inputs.alternative-gh-token-secret-name] || github.token }} # zizmor: ignore[overprovisioned-secrets]
196196 - name : C++ build
197197 run : |
198- ulimit -n $(ulimit -Hn)
198+ ulimit -n " $(ulimit -Hn)"
199199 $INPUTS_SCRIPT
200200 env :
201201 INPUTS_SCRIPT : " ${{ inputs.script }}"
Original file line number Diff line number Diff line change @@ -282,7 +282,6 @@ jobs:
282282 local val_str=$3
283283 if test -n "${val_str}"; then
284284 if ! test -n "${key_str}"; then
285- local input_name
286285 echo "ERROR: '${input_prefix}-value' non-empty but '${input_prefix}-key' is empty. Set '${input_prefix}-key'."
287286 exit 1
288287 fi
@@ -294,7 +293,7 @@ jobs:
294293 set_env_var '3' '${{ secrets.script-env-secret-3-key }}' '${{ secrets.script-env-secret-3-value }}'
295294 - name : C++ tests
296295 run : |
297- ulimit -n $(ulimit -Hn)
296+ ulimit -n " $(ulimit -Hn)"
298297 $INPUTS_SCRIPT
299298 env :
300299 INPUTS_SCRIPT : " ${{ inputs.script }}"
Original file line number Diff line number Diff line change @@ -220,7 +220,7 @@ jobs:
220220 - name : Python build
221221 id : python-build
222222 run : |
223- ulimit -n $(ulimit -Hn)
223+ ulimit -n " $(ulimit -Hn)"
224224 # shellcheck disable=SC1090
225225 source "${INPUTS_SCRIPT}"
226226
Original file line number Diff line number Diff line change @@ -287,7 +287,6 @@ jobs:
287287 local val_str=$3
288288 if test -n "${val_str}"; then
289289 if ! test -n "${key_str}"; then
290- local input_name
291290 echo "ERROR: '${input_prefix}-value' non-empty but '${input_prefix}-key' is empty. Set '${input_prefix}-key'."
292291 exit 1
293292 fi
@@ -299,7 +298,7 @@ jobs:
299298 set_env_var '3' '${{ secrets.script-env-secret-3-key }}' '${{ secrets.script-env-secret-3-value }}'
300299 - name : Python tests
301300 run : |
302- ulimit -n $(ulimit -Hn)
301+ ulimit -n " $(ulimit -Hn)"
303302 $INPUTS_SCRIPT
304303 env :
305304 INPUTS_SCRIPT : " ${{ inputs.script }}"
Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ jobs:
203203 persist-credentials : false
204204 - name : Run script
205205 run : |
206- ulimit -n $(ulimit -Hn)
206+ ulimit -n " $(ulimit -Hn)"
207207 $INPUTS_SCRIPT
208208 env :
209209 # NEEDS alternative-gh-token-secret-name - may require a token with more permissions
Original file line number Diff line number Diff line change @@ -268,7 +268,7 @@ jobs:
268268 - name : Build and repair the wheel
269269 id : build-wheel
270270 run : |
271- ulimit -n $(ulimit -Hn)
271+ ulimit -n " $(ulimit -Hn)"
272272 # shellcheck disable=SC1090
273273 source "${INPUTS_SCRIPT}"
274274
Original file line number Diff line number Diff line change @@ -312,7 +312,6 @@ jobs:
312312 local val_str=$3
313313 if test -n "${val_str}"; then
314314 if ! test -n "${key_str}"; then
315- local input_name
316315 echo "ERROR: '${input_prefix}-value' non-empty but '${input_prefix}-key' is empty. Set '${input_prefix}-key'."
317316 exit 1
318317 fi
@@ -324,7 +323,7 @@ jobs:
324323 set_env_var '3' '${{ secrets.script-env-secret-3-key }}' '${{ secrets.script-env-secret-3-value }}'
325324 - name : Run tests
326325 run : |
327- ulimit -n $(ulimit -Hn)
326+ ulimit -n " $(ulimit -Hn)"
328327 $INPUTS_SCRIPT
329328 env :
330329 INPUTS_SCRIPT : " ${{ inputs.script }}"
Original file line number Diff line number Diff line change @@ -26,10 +26,8 @@ repos:
2626 hooks :
2727 - id : verify-copyright
2828 - repo : https://github.com/zizmorcore/zizmor-pre-commit
29- # Zizmor version.
3029 rev : v1.22.0
3130 hooks :
32- # Run the linter.
3331 - id : zizmor
3432 exclude : |
3533 (?x)^(
You can’t perform that action at this time.
0 commit comments