Skip to content

Commit

Permalink
build: harden linting.yml permissions
Browse files Browse the repository at this point in the history
Signed-off-by: Alex <[email protected]>
  • Loading branch information
sashashura committed Sep 20, 2022
1 parent 8a954ea commit 4671928
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: Static Analysis
on: [push, pull_request]
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
python-linting:
runs-on: ubuntu-20.04
Expand Down

0 comments on commit 4671928

Please sign in to comment.