Skip to content

Commit 2b54f88

Browse files
authored
Delete test policy (#46466)
1 parent 593f88e commit 2b54f88

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

.github/policies/disallow-edits.yml

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -60,30 +60,3 @@ configuration:
6060
permission: Read
6161
then:
6262
- closePullRequest
63-
64-
- description: (This is only a test policy that will be deleted.) Disallow sign-off for articles in the /docs/csharp folder.
65-
if:
66-
- or:
67-
- payloadType: Issue_Comment
68-
- payloadType: Pull_Request_Review_Comment
69-
- isAction:
70-
action: Created
71-
- isActivitySender:
72-
issueAuthor: True
73-
- commentContains:
74-
pattern: '#sign-off'
75-
isRegex: False
76-
- isAssignedToUser:
77-
user: BillWagner
78-
- not:
79-
isActivitySender:
80-
user: BillWagner
81-
then:
82-
# Add the do-not-merge label, remove the ready-to-merge label, and add a reply asking the PR author not to sign off on the PR.
83-
- addReply:
84-
reply: >-
85-
@${issueAuthor} - Please do NOT sign off on this pull request!!
86-
- addLabel:
87-
label: do-not-merge
88-
- removeLabel:
89-
label: ready-to-merge

0 commit comments

Comments
 (0)