Skip to content

Commit e5e94a8

Browse files
committed
ci(zizmor): GitHub Actions allow list
1 parent 955ad49 commit e5e94a8

File tree

2 files changed

+17
-0
lines changed

2 files changed

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

0 commit comments

Comments
 (0)