Skip to content

Commit 7eea578

Browse files
authored
ci: tighten permissions on GitHub workflow (#48)
1 parent a87c2fb commit 7eea578

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/semantic-commits.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,16 @@ on:
77
- edited
88
- synchronize
99

10+
permissions:
11+
contents: read
12+
1013
jobs:
1114
main:
1215
name: Validate PR Title
1316
runs-on: ubuntu-latest
17+
permissions:
18+
pull-requests: read
19+
statuses: write
1420
steps:
1521
- name: semantic-pull-request
1622
uses: amannn/action-semantic-pull-request@505e44b4f33b4c801f063838b3f053990ee46ea7 # v4.6

0 commit comments

Comments
 (0)