Skip to content

Commit 10283d2

Browse files
committed
fix the workflow in PRs
1 parent 446b269 commit 10283d2

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/main.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
name: Test
22

3-
on: push
3+
on:
4+
pull_request:
5+
types: [ opened, reopened, synchronize ]
46

57
concurrency:
68
group: ${{ github.ref }}
79
cancel-in-progress: true
810

911
jobs:
1012
test:
13+
name: Tests
1114
uses: ./.github/workflows/test.yml
1215
secrets: inherit

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Test
1+
name: Tests
22

33
on:
44
workflow_call:

0 commit comments

Comments
 (0)