Skip to content

Commit 9a099af

Browse files
committed
Only lint on PR to main
1 parent c982fbb commit 9a099af

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

.github/workflows/lint.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,10 @@
11
name: Lint
22

33
on:
4-
# Trigger the workflow on push or pull request,
5-
# but only for the main branch
6-
push:
7-
branches:
8-
- lint
9-
# Replace pull_request with pull_request_target if you
10-
# plan to use this action with forks, see the Limitations section
114
pull_request:
125
branches:
136
- main
147

15-
# Down scope as necessary via https://docs.github.com/en/actions/security-guides/automatic-token-authentication#modifying-the-permissions-for-the-github_token
168
permissions:
179
checks: write
1810
contents: write

0 commit comments

Comments
 (0)