Skip to content

Commit 28bb491

Browse files
authored
ci: Update Workflows (#538)
1 parent fca4c0c commit 28bb491

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/snyk.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
branches:
1212
- master
1313
schedule:
14-
- cron: '30 0 1,15 * *'
14+
- cron: "30 0 1,15 * *"
1515

1616
permissions:
1717
contents: read
@@ -42,6 +42,8 @@ jobs:
4242
with:
4343
ref: ${{ github.event.pull_request.head.sha || github.ref }}
4444

45-
- uses: snyk/actions/php@b98d498629f1c368650224d6d212bf7dfa89e4bf # [email protected]
45+
- run: npm install -g snyk
46+
47+
- run: snyk test
4648
env:
4749
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ permissions:
1414
contents: read
1515

1616
concurrency:
17-
group: ${{ github.workflow }}-${{ github.ref }}
17+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
1818
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
1919

2020
env:

0 commit comments

Comments
 (0)