Skip to content

Commit ef9f493

Browse files
fix: Add permissions block and remove push triggers
Co-Authored-By: AJ Steers <[email protected]>
1 parent 0a67362 commit ef9f493

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/actionlint.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
name: GitHub action linting
22

33
on:
4-
push:
5-
branches:
6-
- main
7-
paths:
8-
- '.github/workflows/**'
94
pull_request:
105
paths:
116
- '.github/workflows/**'
127

8+
permissions:
9+
contents: read
10+
pull-requests: write
11+
1312
jobs:
1413
actionlint:
1514
name: actionlint

0 commit comments

Comments
 (0)