Skip to content

Commit 5b1cef0

Browse files
authored
github: Specify CI/PR permissions (#29)
1 parent 8099e35 commit 5b1cef0

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/CI.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ on:
88
workflow_call:
99
workflow_dispatch:
1010

11+
permissions:
12+
contents: read
13+
checks: write
14+
pull-requests: write
15+
1116
jobs:
1217
check_nipanel:
1318
name: Check nipanel

.github/workflows/PR.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ on:
88
workflow_call:
99
workflow_dispatch:
1010

11+
permissions:
12+
contents: read
13+
checks: write
14+
pull-requests: write
15+
1116
concurrency:
1217
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
1318
cancel-in-progress: true

0 commit comments

Comments
 (0)