Skip to content

Commit 3ca3722

Browse files
committed
fix: pr ci run
1 parent 51b2698 commit 3ca3722

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

.github/workflows/pr.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
name: PR Check
22
on:
3-
workflow_run:
4-
workflows: [ClosePR]
5-
types:
6-
- completed
3+
pull_request:
4+
branches: [ master ]
75

86
jobs:
97
golangci:
@@ -14,14 +12,14 @@ jobs:
1412
commit_back: false
1513

1614
runmain:
17-
needs: golangci
1815
if: ${{ !contains(github.event.pull_request.title, '.go') }}
1916
uses: ./.github/workflows/lib_run.yml
2017
with:
2118
ref: ${{ github.event.pull_request.head.sha }}
2219

2320
build:
24-
needs: [runmain]
21+
needs: [golangci, runmain]
22+
if: ${{ !contains(github.event.pull_request.title, '.go') }}
2523
uses: ./.github/workflows/lib_build.yml
2624
with:
2725
prefix: "zbp_"

0 commit comments

Comments
 (0)