Skip to content

Commit f50f0d7

Browse files
authored
update docker.yml build policy (#183)
1 parent 038c5cf commit f50f0d7

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/docker.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,12 @@ on:
77
- "README.md"
88
tags:
99
- 'v3.*.*'
10-
branches:
11-
- main
12-
- feature-milestone2
10+
pull_request:
11+
paths-ignore:
12+
- "docs/**"
13+
- "python/**"
14+
- "Changelog.md"
15+
- "README.md"
1316
release:
1417
types: [prereleased]
1518

@@ -25,6 +28,7 @@ env:
2528

2629
jobs:
2730
build_docker:
31+
if: github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true
2832
runs-on: ubuntu-latest
2933
steps:
3034
- name: Checkout

0 commit comments

Comments
 (0)