File tree Expand file tree Collapse file tree 2 files changed +2
-15
lines changed Expand file tree Collapse file tree 2 files changed +2
-15
lines changed Original file line number Diff line number Diff line change 77⯈
88⯈
99
10- - [ ] I've read the contributing guidelines
10+ - [ ] I've read the contributing guidelines
11+ - [ ] I've added my name and email to the NOTICE file
Original file line number Diff line number Diff line change 1010 runs-on : ubuntu-latest
1111 steps :
1212 - uses : actions/checkout@v1.0.0
13- - name : " Check that author is present in the NOTICE file"
14- if : github.event_name == 'pull_request'
15- run : |
16- AUTHOR=$(git log -1 --format="%aE")
17- if [ -z "$AUTHOR" ]; then
18- printf "\Cannot perform NOTICE check: Commit does not include an email address.\n" &&
19- exit 1;
20- elif ! grep -q "$AUTHOR" NOTICE || false; then
21- printf "\nAuthor '$AUTHOR' does not appear to be listed in the NOTICE file, yet.\n" &&
22- printf "Please see https://github.com/AssemblyScript/assemblyscript/blob/main/CONTRIBUTING.md\n" &&
23- exit 1;
24- else
25- printf "\nOK: Author is present in the NOTICE file.\n";
26- fi
2713 - name : " Check that distribution files are unmodified"
2814 if : github.event_name == 'pull_request'
2915 run : |
You can’t perform that action at this time.
0 commit comments