Skip to content

Commit e194f0e

Browse files
ci(lint): run when workflow changes
1 parent 589632d commit e194f0e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/lint.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@ on:
66
paths:
77
- "**/*.kt"
88
- "**.kts"
9+
- .github/workflows/lint.yml
910
pull_request:
1011
paths:
1112
- "**/*.kt"
1213
- "**.kts"
14+
- .github/workflows/lint.yml
1315

1416
concurrency:
1517
cancel-in-progress: true
@@ -62,7 +64,7 @@ jobs:
6264
- name: Run detekt
6365
id: detekt
6466
run: >-
65-
java -jar $RUNNER_TOOL_CACHE/detekt-cli.jar --build-upon-default-config \
67+
java -jar $RUNNER_TOOL_CACHE/detekt-cli.jar --build-upon-default-config
6668
--jvm-target 17 -c .github/detekt.yml -r sarif:build/reports/detekt.sarif
6769
- name: Upload report
6870
uses: github/codeql-action/upload-sarif@v3

0 commit comments

Comments
 (0)