Skip to content

Commit

Permalink
Tighten permissions for analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts committed Jan 6, 2025
1 parent 39a316a commit c4b3af8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions: {}

jobs:
tests:
name: Unit Tests
Expand All @@ -38,6 +40,8 @@ jobs:
name: Trivy Security Scan
if: ${{ ! github.event.pull_request.draft }}
needs: [tests]
permissions:
security-events: write
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit c4b3af8

Please sign in to comment.