Skip to content

Commit

Permalink
updated security permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
obriencj committed Apr 15, 2024
1 parent 4b2bda1 commit a60968d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/on_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ on:

jobs:
run-bandit:
permissions:
security-events: write

uses: ./.github/workflows/run_bandit.yml

run-tests:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/run_bandit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ jobs:
bandit:
runs-on: ubuntu-latest

strategy:
fail-fast: true
permissions:
security-events: write

steps:
- name: Checkout
Expand Down

0 comments on commit a60968d

Please sign in to comment.