Skip to content

Commit 35eb655

Browse files
committed
ci(zizmor): GitHub Actions allow list
1 parent 608e7a7 commit 35eb655

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.github/workflows/super-linter.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,6 @@ jobs:
6666
LINTER_RULES_PATH: .
6767
DEFAULT_BRANCH: main
6868
ENFORCE_COMMITLINT_CONFIGURATION_CHECK: true
69+
GITHUB_ACTIONS_ZIZMOR_CONFIG_FILE: .zizmor.yml
70+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6971
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.zizmor.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
rules:
3+
forbidden-uses:
4+
config:
5+
allow:
6+
- actions/*
7+
- docker/*
8+
- github/codeql-action/*
9+
- google/osv-scanner-action/*
10+
- microsoft/DevSkim-Action
11+
- microsoft/security-devops-action
12+
- ossf/scorecard-action
13+
- sigstore/cosign-installer
14+
- super-linter/super-linter

0 commit comments

Comments
 (0)