Skip to content

Commit 153668b

Browse files
committed
ci(zizmor): GitHub Actions allow list
1 parent ad239b2 commit 153668b

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
@@ -67,4 +67,6 @@ jobs:
6767
DEFAULT_BRANCH: main
6868
FILTER_REGEX_EXCLUDE: "(gradlew|gradlew\\.bat|gradle/.*|mvnw|mvnw\\.cmd|\\.m2/.*|\\.mvn/.*)$"
6969
ENFORCE_COMMITLINT_CONFIGURATION_CHECK: true
70+
GITHUB_ACTIONS_ZIZMOR_CONFIG_FILE: .zizmor.yml
71+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7072
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)