Skip to content

Commit 31b5e9a

Browse files
committed
lint: Additional linting.
1 parent 3792e1c commit 31b5e9a

File tree

3 files changed

+38
-1
lines changed

3 files changed

+38
-1
lines changed

.github/dependency-review-config.yml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
fail-on-severity: low
3+
license-check: true
4+
vulnerability-check: yes
5+
comment-summary-in-pr: on-failure
6+
allow-licenses:
7+
- Apache-2.0
8+
- BSD-2-Clause
9+
- BSD-3-Clause
10+
- ISC
11+
- MPL-2.0
12+
- MIT

.github/workflows/osv-scanner.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# by a third-party and are governed by separate terms of service, privacy
44
# policy, and support documentation.
55

6-
name: osv-scanner
6+
name: OSV Scanner
77
on:
88
push:
99
branches:

.github/workflows/pr-dep-review.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
# This workflow uses actions that are not certified by GitHub. They are provided
3+
# by a third-party and are governed by separate terms of service, privacy
4+
# policy, and support documentation.
5+
6+
name: PR Dependency Review
7+
on: [pull_request]
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
dependency-review:
14+
runs-on: ubuntu-latest
15+
name: Scan PR for dependency issues
16+
permissions:
17+
pull-requests: write
18+
steps:
19+
- name: Checkout Repository
20+
uses: actions/checkout@v4
21+
22+
- name: Dependency Review
23+
uses: actions/dependency-review-action@v3
24+
with:
25+
config-file: ./.github/dependency-review-config.yml

0 commit comments

Comments
 (0)