examples/.github/workflows/pqc-lint.yml
545 B · 27 lines · yaml Raw
1 name: PQC Lint
2
3 on:
4 pull_request:
5 branches: [main]
6 push:
7 branches: [main]
8
9 permissions:
10 contents: read
11 security-events: write # needed for SARIF upload
12 pull-requests: write # needed for PR annotations
13
14 jobs:
15 pqc-lint:
16 name: Scan for classical cryptography
17 runs-on: ubuntu-latest
18 steps:
19 - uses: actions/checkout@v4
20
21 - uses: dyber-pqc/pqc-lint-action@v1
22 with:
23 path: '.'
24 fail-on: 'high'
25 upload-sarif: 'true'
26 exclude: '**/vendor/**,**/third_party/**'
27