We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d9cf86 commit eaf0868Copy full SHA for eaf0868
.policy.yml
@@ -1,13 +1,27 @@
1
policy:
2
- appoval:
3
- - Actions skipped by GitHub Actions bot PRs pass
+ approval:
+ - or:
4
+ - PR created by action
5
+ - All workflows succeeded or skipped
6
7
approval_rules:
- - 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
17
if:
18
has_workflow_result:
- conclusions: ["success", "skipped"]
- workflows:
19
+ paths:
20
- ".github/workflows/codeql.yml"
21
- ".github/workflows/pre-commit.yaml"
22
- ".github/workflows/self-zizmor.yml"
23
+ conclusions:
24
+ - "success"
25
+ - "skipped"
26
27
0 commit comments