Skip to content

Commit eaf0868

Browse files
Add updated .policy.yml
1 parent 0d9cf86 commit eaf0868

File tree

1 file changed

+19
-5
lines changed

1 file changed

+19
-5
lines changed

.policy.yml

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,27 @@
11
policy:
2-
appoval:
3-
- Actions skipped by GitHub Actions bot PRs pass
2+
approval:
3+
- or:
4+
- PR created by action
5+
- All workflows succeeded or skipped
46

57
approval_rules:
6-
- name: Actions skipped by GitHub Actions bot PRs pass
8+
- name: PR created by action
9+
if:
10+
has_author_in:
11+
users:
12+
- "github-actions[bot]"
13+
requires:
14+
count: 0
15+
16+
- name: All workflows succeeded or skipped
717
if:
818
has_workflow_result:
9-
conclusions: ["success", "skipped"]
10-
workflows:
19+
paths:
1120
- ".github/workflows/codeql.yml"
1221
- ".github/workflows/pre-commit.yaml"
1322
- ".github/workflows/self-zizmor.yml"
23+
conclusions:
24+
- "success"
25+
- "skipped"
26+
requires:
27+
count: 0

0 commit comments

Comments
 (0)