Skip to content

Commit

Permalink
Actions: Drop CI permissions for security
Browse files Browse the repository at this point in the history
  • Loading branch information
hartwork committed Apr 21, 2024
1 parent d895b82 commit ccefcc5
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/clang-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@

name: Enforce clang-format

# Drop permissions to minimum, for security
permissions:
contents: read

on:
pull_request:
push:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/linux-mingw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@

name: Build on Linux

# Drop permissions to minimum, for security
permissions:
contents: read

on:
pull_request:
push:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/windows-msvc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@

name: Build on Windows

# Drop permissions to minimum, for security
permissions:
contents: read

on:
pull_request:
push:
Expand Down

0 comments on commit ccefcc5

Please sign in to comment.