Skip to content

Commit

Permalink
chore(ci): Remove checking author in PRs (AssemblyScript#2003)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxGraey authored Jul 24, 2021
1 parent 3efc838 commit e7e7a1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
3 changes: 2 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@

- [ ] I've read the contributing guidelines
- [ ] I've read the contributing guidelines
- [ ] I've added my name and email to the NOTICE file
14 changes: 0 additions & 14 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1.0.0
- name: "Check that author is present in the NOTICE file"
if: github.event_name == 'pull_request'
run: |
AUTHOR=$(git log -1 --format="%aE")
if [ -z "$AUTHOR" ]; then
printf "\Cannot perform NOTICE check: Commit does not include an email address.\n" &&
exit 1;
elif ! grep -q "$AUTHOR" NOTICE || false; then
printf "\nAuthor '$AUTHOR' does not appear to be listed in the NOTICE file, yet.\n" &&
printf "Please see https://github.com/AssemblyScript/assemblyscript/blob/main/CONTRIBUTING.md\n" &&
exit 1;
else
printf "\nOK: Author is present in the NOTICE file.\n";
fi
- name: "Check that distribution files are unmodified"
if: github.event_name == 'pull_request'
run: |
Expand Down

0 comments on commit e7e7a1d

Please sign in to comment.