Skip to content

Commit

Permalink
security: add permissions block to workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
reakaleek committed Feb 17, 2024
1 parent 4de9a07 commit 234d942
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ on:
tags:
- "*.*.*"

permissions:
contents: read

jobs:
test-windows:
runs-on: windows-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/license.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: License headers

on: [pull_request]

permissions:
contents: read

jobs:
build:

Expand Down

0 comments on commit 234d942

Please sign in to comment.