Skip to content

Commit b27e4fc

Browse files
committed
try to fix what I broke
1 parent 132153d commit b27e4fc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/policies/disallow-edits.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ configuration:
88
- description: Close PRs that modify files whose "source of truth" is not in this repo.
99
if:
1010
- payloadType: Pull_Request
11+
- isAction:
12+
action: Opened
1113
- or:
1214
- includesModifiedFiles:
1315
files:
@@ -52,4 +54,5 @@ configuration:
5254
permission: write
5355
- activitySenderHasPermission:
5456
permission: admin
57+
then:
5558
- closePullRequest

0 commit comments

Comments
 (0)