Skip to content

Commit 358c4f0

Browse files
authored
ci: Restrict PR title check job permissions (#3082)
* Restrict job persmisisons * Move permissions to top-level
1 parent d98e2da commit 358c4f0

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/pr_title_checker.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
name: Ensure PR title has a valid prefix
22

33
on:
4-
pull_request:
5-
branches:
6-
- main
74
pull_request_target:
85
types:
96
- opened
107
- edited
118
- synchronize
129
- labeled
1310
- unlabeled
11+
branches:
12+
- main
13+
14+
permissions:
15+
read-all
1416

1517
jobs:
1618
check:

0 commit comments

Comments
 (0)