Skip to content

Commit 75f35c1

Browse files
authored
Scan HLint on pull requests.
According to https://github.com/orgs/community/discussions/54013, uploading scan results for a pull request no longer requires write permission against the destination repository. Re-enable HLint code scanning for pull requests, which will also show any warnings and corresponding code in the pull request itself.
1 parent f9ac011 commit 75f35c1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/hlint.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ on:
77
- 'message-index/create-message-template.hs'
88
branches:
99
- main
10+
pull_request:
11+
paths:
12+
- 'message-index/site.hs'
13+
- 'message-index/create-message-template.hs'
14+
branches:
15+
- main
1016

1117
jobs:
1218
hlint:

0 commit comments

Comments
 (0)