Skip to content

Commit faa3fa4

Browse files
authored
[SECURITY] Add new sec workflow for org-wide use (#11)
* [SECURITY] Add new sec workflow for org-wide use Signed-off-by: John McCall <john@overturemaps.org> * Update omf_sec_checks.yml Signed-off-by: John McCall <john@overturemaps.org> --------- Signed-off-by: John McCall <john@overturemaps.org>
1 parent 4f2f7dd commit faa3fa4

1 file changed

Lines changed: 39 additions & 0 deletions

File tree

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
# Standard Overture Maps Foundation security checks for GitHub Actions workflows.
3+
#
4+
# Bundles the following checks:
5+
# - zizmor: Audits GitHub Actions workflow files for security vulnerabilities
6+
# using the 'auditor' persona for thorough coverage.
7+
#
8+
# Designed to run as a GitHub Ruleset required workflow.
9+
#
10+
# SECURITY: This workflow checks out PR branch code for static analysis only.
11+
# No PR code is executed. Write access is limited to uploading SARIF results
12+
# to GitHub Advanced Security.
13+
#
14+
name: OMF Security Checks
15+
16+
on:
17+
pull_request:
18+
types: [opened, reopened, synchronize]
19+
20+
permissions:
21+
contents: read
22+
actions: read
23+
security-events: write
24+
25+
jobs:
26+
27+
zizmor:
28+
name: zizmor
29+
runs-on: ubuntu-latest
30+
steps:
31+
- name: Checkout
32+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
33+
with:
34+
persist-credentials: false
35+
36+
- name: Run zizmor 🌈
37+
uses: zizmorcore/zizmor-action@71321a20a9ded102f6e9ce5718a2fcec2c4f70d8 # v0.5.2
38+
with:
39+
persona: auditor

0 commit comments

Comments
 (0)