There was an error while loading. Please reload this page.
1 parent 51b2698 commit 3ca3722Copy full SHA for 3ca3722
1 file changed
.github/workflows/pr.yml
@@ -1,9 +1,7 @@
1
name: PR Check
2
on:
3
- workflow_run:
4
- workflows: [ClosePR]
5
- types:
6
- - completed
+ pull_request:
+ branches: [ master ]
7
8
jobs:
9
golangci:
@@ -14,14 +12,14 @@ jobs:
14
12
commit_back: false
15
13
16
runmain:
17
- needs: golangci
18
if: ${{ !contains(github.event.pull_request.title, '.go') }}
19
uses: ./.github/workflows/lib_run.yml
20
with:
21
ref: ${{ github.event.pull_request.head.sha }}
22
23
build:
24
- needs: [runmain]
+ needs: [golangci, runmain]
+ if: ${{ !contains(github.event.pull_request.title, '.go') }}
25
uses: ./.github/workflows/lib_build.yml
26
27
prefix: "zbp_"
0 commit comments