We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79c006d commit 63ed3e7Copy full SHA for 63ed3e7
.github/workflows/sync-to-public.yml
@@ -3,6 +3,7 @@ name: Sync Repository to Public Mirror
3
on:
4
pull_request:
5
types: [closed]
6
+ # No branches filter means it will trigger for ALL branches
7
workflow_dispatch:
8
inputs:
9
force_sync:
@@ -17,6 +18,8 @@ on:
17
18
19
jobs:
20
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
24
with:
25
force_sync: ${{ github.event.inputs.force_sync == 'true' }}
0 commit comments