Skip to content

Commit 6349923

Browse files
committed
Add permissions to workflows.
1 parent 37ed57f commit 6349923

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

.github/workflows/pre-commit-autoupdate.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Pre-commit auto-update
22

3+
permissions:
4+
contents: write
5+
pull-requests: write
6+
37
on:
48
# every month
59
schedule:

.github/workflows/test-package.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Test package
22

3+
permissions:
4+
contents: read
5+
36
on:
47
push:
58
branches: [ main ]

.github/workflows/update-data.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Update data
22

3+
permissions:
4+
contents: write
5+
36
on:
47
workflow_dispatch:
58
schedule:

0 commit comments

Comments
 (0)