Cleanup Hacktoberfest topic #2234
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check for conflicts of interest | |
on: | |
pull_request: | |
merge_group: | |
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 the topic or collection I'm changing." | |
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 the topic or collection') | |
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 the topic or collection') | |
name: Succeed |