Skip to content

Commit ab70d43

Browse files
authored
ci: Reduce permissions of jobs
1 parent 621f02c commit ab70d43

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/commitlint.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: Lint Commit Messages
22
on: [pull_request]
3+
permissions:
4+
contents: read
35

46
jobs:
57
commitlint:

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
name: CI
2+
permissions:
3+
contents: read
24

35
# Automatically cancel outdated runs for the same PR/branch:
46
# https://stackoverflow.com/a/72408109

0 commit comments

Comments
 (0)