Skip to content

Commit

Permalink
Set read-all permisions in github workflows.
Browse files Browse the repository at this point in the history
  • Loading branch information
popovaan committed Jun 18, 2024
1 parent e8eca90 commit 2f8ce05
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/bandit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ on:
schedule:
- cron: '31 21 * * 6'

permissions: read-all

jobs:
bandit:
permissions:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/precommit.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Precommit
on: [push, pull_request]

permissions: read-all

jobs:
Run_UT:
runs-on: ubuntu-20.04
Expand Down

0 comments on commit 2f8ce05

Please sign in to comment.