Skip to content

Commit ae80d30

Browse files
ci: do not merge - add debugging workflow
1 parent a05be56 commit ae80d30

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

.github/workflows/snyk.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Snyk
2+
3+
on:
4+
pull_request:
5+
types:
6+
- opened
7+
- synchronize
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
check:
14+
name: Check for Vulnerabilities
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- name: Debug secrets
19+
run: echo "TEST_FOO_TOKEN length=${#TEST_FOO_TOKEN}"
20+
env:
21+
TEST_FOO_TOKEN: ${{ secrets.TEST_FOO_TOKEN }}
22+
23+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
24+
with:
25+
ref: ${{ github.event.pull_request.head.sha || github.ref }}
26+
27+
- uses: snyk/actions/node@9adf32b1121593767fc3c057af55b55db032dc04 # pin@1.0.0
28+
env:
29+
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}

0 commit comments

Comments
 (0)