Skip to content

Commit f505ed3

Browse files
authored
Merge pull request #804 from gabibguti/master
Add minimum permissions to workflows
2 parents 3caa4c0 + 984abd0 commit f505ed3

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/cmake.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ on:
3333
- '!**Makefile'
3434
- '!**md'
3535

36+
permissions:
37+
contents: read
38+
3639
env:
3740
CFLAGS: "-Wall -pedantic"
3841
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)

.github/workflows/makefile.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ on:
3131
- '!**CMakeLists.txt'
3232
- '!**md'
3333

34+
permissions:
35+
contents: read
36+
3437
env:
3538
CC: "gcc"
3639
FC: "gfortran"

0 commit comments

Comments
 (0)