You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This addresses the CodeQL alerts: https://github.com/mondoohq/cnquery/security/code-scanning
This sets default permissions on the workflow level.
The various jobs have extended permissions when needed.
Signed-off-by: Christian Zunker <christian@mondoo.com>
Copy file name to clipboardExpand all lines: .github/workflows/cla.yaml
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -6,9 +6,17 @@ on:
6
6
pull_request_target:
7
7
types: [opened, closed, synchronize]
8
8
9
+
permissions:
10
+
contents: read
11
+
9
12
jobs:
10
13
CLAssistant:
11
14
runs-on: ubuntu-latest
15
+
permissions:
16
+
actions: write
17
+
contents: write
18
+
pull-requests: write
19
+
statuses: write
12
20
steps:
13
21
- name: "CLA Assistant"
14
22
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the Mondoo CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'
0 commit comments