File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,13 @@ name: Sync Repository to Public Mirror
33on :
44 pull_request :
55 types : [closed]
6- # No branches filter means it will trigger for ALL branches
6+ branches :
7+ - ' **'
8+ - ' *'
9+ push :
10+ branches :
11+ - ' *' # Match any branch without slashes
12+ - ' **' # Match any branch with slashes
713 workflow_dispatch :
814 inputs :
915 force_sync :
1824
1925jobs :
2026 call-sync-workflow :
21- # Only run this job when the PR was merged, not just closed
22- if : github.event.pull_request.merged == true || github.event_name == 'workflow_dispatch'
23- uses : thoughtspot/workflows/.github/workflows/sync-to-public-mirror.yml@c19c7b395533a67a484bb86bd497aa71ed279a07
27+ # Run for merged PRs, direct pushes, or manual triggers
28+ if : ( github.event_name == 'pull_request' && github. event.pull_request.merged == true) || github.event_name == 'push' || github.event_name == 'workflow_dispatch'
29+ uses : thoughtspot/workflows/.github/workflows/sync-to-public-mirror.yml@5e34672e14727605657a131a08657fef8bb5ec48
2430 with :
2531 force_sync : ${{ github.event.inputs.force_sync == 'true' }}
2632 public_repo_name : ${{ github.event.inputs.public_repo_name || '' }}
2733 secrets :
28- SSH_DEPLOY_KEY : ${{ secrets.SSH_DEPLOY_KEY }}
34+ SSH_DEPLOY_KEY : ${{ secrets.SSH_DEPLOY_KEY }}
You can’t perform that action at this time.
0 commit comments