Skip to content

Commit 3f2f7be

Browse files
authored
fix workflow permissions (#16)
Co-authored-by: Markus Cozowicz <eisber@eisber.net>
1 parent e785913 commit 3f2f7be

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/build.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on: [push]
44

55
permissions:
66
contents: write # This is required for actions/checkout@v1
7-
security-events: write # To upload sarif files
87

98
jobs:
109
build:

.github/workflows/codeql.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ on:
66
schedule:
77
- cron: '20 14 * * 1'
88

9+
permissions:
10+
actions: read
11+
contents: read
12+
security-events: write # To upload sarif files
13+
914
jobs:
1015
analyze:
1116
name: Analyze

0 commit comments

Comments
 (0)