-
Notifications
You must be signed in to change notification settings - Fork 12.8k
25 lines (22 loc) · 1.18 KB
/
conflict.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
name: Check for conflicts of interest
on:
pull_request:
merge_group:
permissions:
contents: read
jobs:
check:
runs-on: ubuntu-latest
steps:
- run: |
echo "In order to review this pull request for acceptance, we need to make sure that all of the prerequisites are satisfied."
echo "This was not checked:"
echo "> I am not the sole author or employee of a company who created either the topic I am modifying/adding or the collection entry I am modifying/adding."
echo "This is a requirement to maintain a high level of independence in this project. Please update if you are able to verify that you meet that requirement."
echo "Thank you!"
exit 1
if: contains(github.event.pull_request.body, '- [ ] I am not the sole author or employee of a company who created either the topic I am modifying/adding or the collection entry I am modifying/adding.')
name: Fail
- run: exit 0
if: contains(github.event.pull_request.body, '- [x] I am not the sole author or employee of a company who created either the topic I am modifying/adding or the collection entry I am modifying/adding.')
name: Succeed