File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change 1414 push :
1515 branches :
1616 - dev # Trigger when dev is updated
17+ workflow_dispatch : # Allow manual triggering from GitHub UI
18+ inputs :
19+ reason :
20+ description : ' Reason for manual trigger'
21+ required : false
22+ default : ' Manual release trigger'
23+ dry_run :
24+ description : ' Perform dry run (no actual release)'
25+ required : false
26+ type : boolean
27+ default : false
1728
1829jobs :
1930 release-please-master :
2031 runs-on : ubuntu-latest
2132 steps :
33+ - name : Log manual trigger details
34+ if : github.event_name == 'workflow_dispatch'
35+ run : |
36+ echo "Manual trigger initiated"
37+ echo "Reason: ${{ github.event.inputs.reason }}"
38+ echo "Dry run: ${{ github.event.inputs.dry_run }}"
39+ echo "Triggered by: ${{ github.actor }}"
40+
2241 - name : Checkout repository
2342 uses : actions/checkout@v4
2443
3857 manifest : true
3958 primaryBranch : dev
4059 handleGHRelease : true
60+ dry-run : ${{ github.event.inputs.dry_run == 'true' }}
You can’t perform that action at this time.
0 commit comments