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 7
7
⯈
8
8
⯈
9
9
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 10
10
runs-on : ubuntu-latest
11
11
steps :
12
12
- 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
27
13
- name : " Check that distribution files are unmodified"
28
14
if : github.event_name == 'pull_request'
29
15
run : |
You can’t perform that action at this time.
0 commit comments