Skip to content

Commit f248d85

Browse files
feat(CI): add multiple triggers for Docker actions validation
- Add pull_request trigger (opened, synchronize, reopened) - Add push to main trigger - Keep workflow_dispatch for manual trigger Signed-off-by: JavaPythonAIForBAT <wuhejun@h-partners.com>
1 parent f0b9dfb commit f248d85

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/validate_docker_actions.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,18 @@ name: 'Validate: Docker Actions on Self-Hosted'
1919

2020
on:
2121
workflow_dispatch:
22+
pull_request:
23+
types:
24+
- opened
25+
- synchronize
26+
- reopened
27+
branches:
28+
- main
29+
push:
30+
branches:
31+
- main
32+
paths:
33+
- '.github/workflows/validate_docker_actions.yaml'
2234

2335
defaults:
2436
run:

0 commit comments

Comments
 (0)