File tree Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -200,8 +200,8 @@ jobs:
200200 if : ${{ inputs.run_post }}
201201 run : ${{ inputs.run_post }}
202202
203- - name : Archive logs and coverage data
204- uses : actions /upload-artifact@v4
203+ - name : Archive logs and coverage data (secured)
204+ uses : coactions /upload-artifact@fix/multi-folders
205205 with :
206206 name : logs-${{ matrix.name }}.zip
207207 include-hidden-files : true
@@ -225,6 +225,7 @@ jobs:
225225 # shellcheck disable=SC2016
226226 echo -n '::error file=git-status::'
227227 printf '### Failed as git reported modified and/or untracked files\n```\n%s\n```\n' "$(git status -s)" | tee -a "$GITHUB_STEP_SUMMARY"
228+ git diff
228229 exit 99
229230 fi
230231 # https://github.com/actions/toolkit/issues/193
Original file line number Diff line number Diff line change @@ -36,3 +36,11 @@ repos:
3636 - id : ansible-lint
3737 language_version : " 3.12"
3838 args : [--fix]
39+ - repo : https://github.com/gitleaks/gitleaks
40+ rev : v8.27.0
41+ hooks :
42+ - id : gitleaks
43+ name : Look for leaked decrets in all files, including build logs
44+ entry : gitleaks dir -v --redact=100 --no-banner --max-archive-depth=2 .
45+ pass_filenames : false
46+ always_run : true
Original file line number Diff line number Diff line change @@ -63,8 +63,6 @@ uv_seed = true
6363[testenv:docs]
6464description = Build docs
6565extras = docs
66- passenv =
67- *
6866setenv =
6967 # see https://github.com/tox-dev/tox/issues/2092#issuecomment-2538729079
7068 # see https://github.com/Kozea/CairoSVG/issues/392#issuecomment-2538707712
You can’t perform that action at this time.
0 commit comments