Skip to content

Commit 4f08610

Browse files
Copilotneilime
andcommitted
fix: add actions: read permission to CI workflows for CodeQL
Co-authored-by: neilime <314088+neilime@users.noreply.github.com>
1 parent a10e897 commit 4f08610

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/__shared-ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
workflow_call:
55

66
permissions:
7+
actions: read
78
contents: read
89
security-events: write
910
statuses: write

.github/workflows/main-ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
tags: ['*']
77

88
permissions:
9+
actions: read
910
contents: read
1011
id-token: write
1112
pages: write

.github/workflows/pull-request-ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
branches: [main]
77

88
permissions:
9+
actions: read
910
contents: read
1011
security-events: write
1112
statuses: write

0 commit comments

Comments
 (0)