We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fca4c0c commit 28bb491Copy full SHA for 28bb491
.github/workflows/snyk.yml
@@ -11,7 +11,7 @@ on:
11
branches:
12
- master
13
schedule:
14
- - cron: '30 0 1,15 * *'
+ - cron: "30 0 1,15 * *"
15
16
permissions:
17
contents: read
@@ -42,6 +42,8 @@ jobs:
42
with:
43
ref: ${{ github.event.pull_request.head.sha || github.ref }}
44
45
- - uses: snyk/actions/php@b98d498629f1c368650224d6d212bf7dfa89e4bf # [email protected]
+ - run: npm install -g snyk
46
+
47
+ - run: snyk test
48
env:
49
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
.github/workflows/test.yml
@@ -14,7 +14,7 @@ permissions:
concurrency:
- group: ${{ github.workflow }}-${{ github.ref }}
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
18
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
19
20
0 commit comments