Skip to content

Commit 0525428

Browse files
feat(CI): add multiple triggers for third-party 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 cbf6ea4 commit 0525428

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/validate_third_party_actions.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,15 @@ name: 'Validate: Third-Party Actions on Self-Hosted'
2020
on:
2121
workflow_dispatch:
2222
pull_request:
23+
types:
24+
- opened
25+
- synchronize
26+
- reopened
27+
branches:
28+
- main
29+
push:
30+
branches:
31+
- main
2332
paths:
2433
- '.github/workflows/validate_third_party_actions.yaml'
2534

0 commit comments

Comments
 (0)