Skip to content

Commit

Permalink
lint: Additional linting.
Browse files Browse the repository at this point in the history
  • Loading branch information
skyzyx committed Oct 27, 2023
1 parent 3792e1c commit 31b5e9a
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .github/dependency-review-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
fail-on-severity: low
license-check: true
vulnerability-check: yes
comment-summary-in-pr: on-failure
allow-licenses:
- Apache-2.0
- BSD-2-Clause
- BSD-3-Clause
- ISC
- MPL-2.0
- MIT
2 changes: 1 addition & 1 deletion .github/workflows/osv-scanner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# by a third-party and are governed by separate terms of service, privacy
# policy, and support documentation.

name: osv-scanner
name: OSV Scanner
on:
push:
branches:
Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/pr-dep-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
# This workflow uses actions that are not certified by GitHub. They are provided
# by a third-party and are governed by separate terms of service, privacy
# policy, and support documentation.

name: PR Dependency Review
on: [pull_request]

permissions:
contents: read

jobs:
dependency-review:
runs-on: ubuntu-latest
name: Scan PR for dependency issues
permissions:
pull-requests: write
steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Dependency Review
uses: actions/dependency-review-action@v3
with:
config-file: ./.github/dependency-review-config.yml

0 comments on commit 31b5e9a

Please sign in to comment.