File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 - main
77 paths :
88 - " pyatlan_v9/model/assets/**"
9+ workflow_dispatch :
10+ inputs :
11+ branch :
12+ description : " Branch name to format (e.g. sync-models-20260308-211204)"
13+ required : true
14+ type : string
915
1016permissions :
1117 contents : write
1218
1319jobs :
1420 format :
15- # Only run on automated sync branches
16- if : startsWith(github.head_ref, 'sync-models-')
21+ # Only run on automated sync branches (auto for PRs, manual via input)
22+ if : >-
23+ github.event_name == 'workflow_dispatch' ||
24+ startsWith(github.head_ref, 'sync-models-')
1725 runs-on : ubuntu-latest
1826
1927 steps :
20- - name : Checkout PR branch
28+ - name : Checkout branch
2129 uses : actions/checkout@v5
2230 with :
23- ref : ${{ github.head_ref }}
31+ ref : ${{ github.event.inputs.branch || github. head_ref }}
2432 token : ${{ secrets.ORG_PAT_GITHUB }}
2533 fetch-depth : 1
2634
You can’t perform that action at this time.
0 commit comments