Skip to content

Commit 29b9604

Browse files
committed
Add permissions to workflows.
1 parent b7d9f7f commit 29b9604

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-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 ]

0 commit comments

Comments
 (0)