Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Commit

Permalink
Add permissions block to top workflow level
Browse files Browse the repository at this point in the history
Signed-off-by: temenuzhka-thede <[email protected]>
  • Loading branch information
temenuzhka-thede committed Oct 27, 2023
1 parent 5eca716 commit afb5017
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,20 @@ on:
- '**/*.yml'
- '**/*_test.go'

permissions:
actions: read
contents: read
security-events: write

jobs:
analyze:
name: Analyze
runs-on: 'ubuntu-latest'
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [go]
language:
- go

steps:
-
Expand Down

0 comments on commit afb5017

Please sign in to comment.