Skip to content

Commit

Permalink
Tighten action permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
AlCutter committed Nov 16, 2022
1 parent 1ef13b2 commit a321c1a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ on:
schedule:
- cron: '37 3 * * 1'

permissions:
contents: read

jobs:
analyze:
name: Analyze
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/go_test.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
on: [push, pull_request]
name: Test Go
permissions:
contents: read
jobs:
test:
strategy:
Expand Down

0 comments on commit a321c1a

Please sign in to comment.