Skip to content

Commit 6fabdb9

Browse files
committed
chore: restructure GitHub Workflows
1 parent 0cd79f6 commit 6fabdb9

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
name: Pull Requests
1+
name: Lint & Test
22

33
on:
4+
push:
5+
branches:
6+
- main
47
pull_request:
58
workflow_dispatch:
69

@@ -10,7 +13,7 @@ jobs:
1013
permissions:
1114
contents: read
1215
packages: read
13-
uses: ./.github/workflows/lint.yaml
16+
uses: ./.github/workflows/_lint.yaml
1417

1518
test:
1619
name: Test
@@ -19,5 +22,5 @@ jobs:
1922
checks: write
2023
pull-requests: write
2124
statuses: write
22-
uses: ./.github/workflows/test.yaml
25+
uses: ./.github/workflows/_test.yaml
2326
secrets: inherit

0 commit comments

Comments
 (0)