1
0
Fork 0
mirror of synced 2024-05-20 04:32:37 +12:00

Merge pull request #8021 from appwrite/feat-vulnerability-scanner

Add OSV Scanner for vulnerability scans
This commit is contained in:
Jake Barnby 2024-04-30 11:16:37 +12:00 committed by GitHub
commit dd1213c81a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,19 @@
name: Check dependencies
# Adapted from https://google.github.io/osv-scanner/github-action/#scan-on-pull-request
on:
pull_request:
branches: [main, 1.*.x]
merge_group:
branches: [main, 1.*.x]
permissions:
# Require writing security events to upload SARIF file to security tab
security-events: write
# Only need to read contents
contents: read
jobs:
scan-pr:
uses: "google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@v1.7.1"