Skip to content

Commit e26e988

Browse files
committed
fix: Update linting defaults to also activate on main
1 parent b0d32c0 commit e26e988

File tree

2 files changed

+12
-2
lines changed
  • tools/nevermore-cli/templates

2 files changed

+12
-2
lines changed

tools/nevermore-cli/templates/game-template/.github/workflows/linting.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
name: linting
2-
on: [pull_request, workflow_call]
2+
on:
3+
push:
4+
branches:
5+
- main
6+
pull_request:
7+
workflow_call:
38
jobs:
49
luau-lsp:
510
runs-on: ubuntu-latest

tools/nevermore-cli/templates/plugin-template/.github/workflows/linting.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
name: linting
2-
on: [pull_request, workflow_call]
2+
on:
3+
push:
4+
branches:
5+
- main
6+
pull_request:
7+
workflow_call:
38
jobs:
49
luau-lsp:
510
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)