Skip to content

Commit e30ef1d

Browse files
ci: add shared security scanning workflow (#4465)
* ci: add shared zizmor workflow * ci: remediate zizmor findings Add persist-credentials: false to checkout steps, set Dependabot cooldown, move step outputs into env instead of expanding them into run blocks, and replace the CMD shell with pwsh. --------- Co-authored-by: Doug Barker <3782873+dbarker@users.noreply.github.com>
1 parent 68a575f commit e30ef1d

12 files changed

Lines changed: 124 additions & 6 deletions

‎.github/dependabot.yml‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,22 @@ updates:
44
directory: "/"
55
schedule:
66
interval: daily
7+
cooldown:
8+
default-days: 7
79

810
- package-ecosystem: "devcontainers"
911
directory: "/"
1012
schedule:
1113
interval: daily
14+
cooldown:
15+
default-days: 7
1216

1317
- package-ecosystem: "github-actions"
1418
directory: "/"
1519
schedule:
1620
interval: "daily"
1721
labels:
1822
- "GHA"
23+
cooldown:
24+
default-days: 7
1925

‎.github/workflows/benchmark.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919

2020
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2121
with:
22+
persist-credentials: false
2223
submodules: 'recursive'
2324
- name: Mount Bazel Cache
2425
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
@@ -60,6 +61,8 @@ jobs:
6061
egress-policy: audit
6162

6263
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
64+
with:
65+
persist-credentials: false
6366
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # main March 2025
6467
with:
6568
name: benchmark_results

0 commit comments

Comments
 (0)