Skip to content

Commit 1622a28

Browse files
committed
modify workflow
1 parent 7498388 commit 1622a28

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/build-connector.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,15 @@ on:
2222
workflows: [ "Code Style Checker" ]
2323
types:
2424
- completed
25+
branches:
26+
- 'master'
2527
pull_request:
2628
push:
2729

2830
jobs:
2931
build-extension:
3032
name: "Build Connector"
31-
if: ${{ github.event_name == 'push' || github.event.workflow_run.conclusion == 'success' }}
33+
if: (github.event_name == 'push') || (github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success')
3234
runs-on: ubuntu-latest
3335
defaults:
3436
run:

0 commit comments

Comments
 (0)