Skip to content

Commit 347d349

Browse files
committed
fix zizmor issues
1 parent e7aba84 commit 347d349

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,23 @@ on:
66
branches: ["main", "master"]
77
tags: ["v*"]
88
pull_request:
9+
branches: ["main", "master"]
10+
11+
permissions: {}
912

1013
jobs:
1114
build-with-xk6:
1215
runs-on: ubuntu-latest
1316
steps:
1417
- name: Checkout code
1518
uses: actions/checkout@v4
19+
with:
20+
persist-credentials: false
1621
- name: Setup Go
1722
uses: actions/setup-go@v5
1823
with:
1924
go-version: 1.22.x
25+
cache: false
2026
- name: Install xk6
2127
run: go install go.k6.io/xk6/cmd/xk6@latest
2228
- name: Build

.github/zizmor.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
rules:
2+
unpinned-uses:
3+
config:
4+
policies:
5+
"*": hash-pin
6+
actions/*: any
7+
grafana/*: any
8+
forbidden-uses:
9+
config:
10+
deny:
11+
# Policy-banned by our security team due to CVE-2025-30066 & CVE-2025-30154.
12+
# https://www.cisa.gov/news-events/alerts/2025/03/18/supply-chain-compromise-third-party-tj-actionschanged-files-cve-2025-30066-and-reviewdogaction
13+
# https://nvd.nist.gov/vuln/detail/cve-2025-30066
14+
# https://nvd.nist.gov/vuln/detail/cve-2025-30154
15+
- reviewdog/*

0 commit comments

Comments
 (0)