Skip to content

Commit 9c25749

Browse files
authored
Do not trigger on pull requests.
It turns out that the HLint code scanning action is not able to work with pull requests from forked repositories because GitHub prevents it from getting the permission it needs to do so. It will still work on pull requests local to the repository, but triggering on a push is enough to have this working as well. See haskell-actions/hlint-scan#48 for more details.
1 parent f502d20 commit 9c25749

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

.github/workflows/hlint.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,6 @@ on:
66
- 'message-index/site.hs'
77
branches:
88
- main
9-
pull_request:
10-
paths:
11-
- 'message-index/site.hs'
12-
types:
13-
- opened
14-
- synchronize
15-
- reopened
169

1710
jobs:
1811
hlint:

0 commit comments

Comments
 (0)