File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Checks the security policy and configurations
2+ on :
3+ pull_request :
4+ types : [opened, synchronize, reopened]
5+ jobs :
6+ security-policy :
7+ if : github.event.repository.visibility == 'public'
8+ runs-on : ubuntu-latest
9+ defaults :
10+ run :
11+ shell : bash
12+ steps :
13+ - uses : actions/checkout@master
14+ - name : Checks for SECURITY.md policy file
15+ run : |
16+ if ! [[ -f "SECURITY.md" || -f ".github/SECURITY.md" ]]; then exit 1; fi
17+ security-license :
18+ if : github.event.repository.visibility == 'public'
19+ runs-on : ubuntu-latest
20+ defaults :
21+ run :
22+ shell : bash
23+ steps :
24+ - uses : actions/checkout@master
25+ - name : Checks for License file
26+ run : |
27+ if ! [[ -f "LICENSE" || -f "License.txt" || -f "LICENSE.md" ]]; then exit 1; fi
You can’t perform that action at this time.
0 commit comments