We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9531555 commit c81f189Copy full SHA for c81f189
.github/workflows/policy-scan.yml
@@ -0,0 +1,27 @@
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
19
20
21
22
23
24
25
+ - name: Checks for License file
26
27
+ if ! [[ -f "LICENSE" || -f "License.txt" || -f "LICENSE.md" ]]; then exit 1; fi
0 commit comments