Skip to content

Commit a569522

Browse files
authored
feat: Create policy-as-code
1 parent c63ba37 commit a569522

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Policy as Code
2+
3+
on:
4+
workflow_call:
5+
workflow_dispatch:
6+
7+
jobs:
8+
policy:
9+
runs-on: ubuntu-latest
10+
11+
permissions:
12+
contents: read
13+
security-events: read
14+
15+
steps:
16+
- name: Policy as Code
17+
id: policy-as-code
18+
uses: advanced-security/policy-as-code@main
19+
with:
20+
policy: advanced-security/reusable-workflows
21+
policy-path: security/default.yml
22+
policy-branch: main

0 commit comments

Comments
 (0)