Skip to content

Commit 50dd290

Browse files
authored
[CI] Add Token-Permissions to github workflow files (#518)
Address #516
1 parent 127da60 commit 50dd290

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

.github/workflows/on-demand-verification.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
name: On demand verification
66
run-name: 'On demand by ${{ github.actor }}'
77

8+
permissions:
9+
contents: read
10+
811
on:
912
workflow_dispatch:
1013
inputs:

.github/workflows/on-push-verification.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
name: On push & pull-request verification
88
run-name: '${{ github.event_name }}: ${{ github.base_ref }} ${{ github.ref_name }}' # github.base_ref null for 'on: push'
99

10+
permissions:
11+
contents: read
12+
1013
on:
1114
push:
1215
branches:

.github/workflows/scheduled-verification.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
name: Scheduled verification
66
run-name: Scheduled verification
77

8+
permissions:
9+
contents: read
10+
811
on:
912
schedule:
1013
# Run Sunday & Wednesday at 00:00

0 commit comments

Comments
 (0)