File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,17 @@ name: Prow Merge release-* Branch to rhoai-staging Branch
22
33on :
44 workflow_dispatch :
5+ inputs :
6+ confirm_pyproject_sync_policy :
7+ description : |
8+ Developer Note: release-* -> rhoai-staging auto-sync does not auto-propagate all pyproject.toml updates as-is.
9+ If pyproject.toml or runtimes/*/pyproject.toml changes are needed in rhoai-staging, open a separate manual sync PR.
10+ After manual pyproject sync, regenerate lock files with `make lock`.
11+
12+ Acknowledgement: I understand and will manually sync pyproject.toml changes when needed.
13+ required : false
14+ type : boolean
15+ default : false
516
617# Prevent concurrent sync runs for the same source branch.
718# We queue instead of canceling to avoid losing a manually-triggered run.
2132 runs-on : ubuntu-latest
2233 timeout-minutes : 20
2334 steps :
35+ - name : Validate manual pyproject sync acknowledgement
36+ if : ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.confirm_pyproject_sync_policy != 'true' }}
37+ run : |
38+ echo "Please acknowledge pyproject.toml manual sync policy before running this workflow."
39+ exit 1
40+
2441 - name : Checkout repository
2542 # Pinned from actions/checkout v6
2643 uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
You can’t perform that action at this time.
0 commit comments