Skip to content

Commit

Permalink
fix: Add GHA Perms (#130)
Browse files Browse the repository at this point in the history
Add Org to report back to Snyk
  • Loading branch information
andymac4182 committed Apr 20, 2023
1 parent 118e46a commit 2e35b30
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/snyk.yml
Expand Up @@ -7,6 +7,11 @@ on:
branches:
- main

permissions:
actions: read
contents: read
security-events: write

jobs:
security:
runs-on: ubuntu-latest
Expand All @@ -19,7 +24,7 @@ jobs:
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
args: --sarif-file-output=snyk.sarif --all-projects --dev
args: --sarif-file-output=snyk.sarif --all-projects --dev --org=7b4599c0-e96e-435d-bfb9-081294c3aa4a --project-name=obsidian-confluence

- name: Upload result to GitHub Code Scanning
uses: github/codeql-action/upload-sarif@v2
Expand Down

0 comments on commit 2e35b30

Please sign in to comment.