Skip to content

Commit 3a546ac

Browse files
authored
Update CodeQL analysis workflow permissions
Added permissions for actions and security events.
1 parent 05411be commit 3a546ac

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: "Code scanning - action"
22
permissions:
3+
actions: read
34
contents: read
5+
security-events: write
46

57
on:
68
push:
@@ -34,6 +36,9 @@ jobs:
3436
# with:
3537
# languages: go, javascript, csharp, python, cpp, java
3638

39+
- name: Install GitBook CLI
40+
run: npm install -g gitbook-cli
41+
3742
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
3843
# If this step fails, then you should remove it and run the build manually (see below)
3944
- name: Autobuild

0 commit comments

Comments
 (0)