mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-12 12:13:19 +00:00
ci(split-packages): enable manual + chained runs; gate on success
- add workflow_dispatch to run splitter from the UI - add workflow_run to follow “Release HugoBlox Modules” completion - guard job to run only when upstream conclusion == success - add comment: upstream workflow `name:` must match exactly - retain push trigger on main
This commit is contained in:
1 parent
540ba9c933
commit
61a67d7c5a
1 file changed
+9
@@ -4,12 +4,21 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
workflow_dispatch:
|
||||
# IMPORTANT: workflows below must match the upstream workflow's `name:` exactly
|
||||
workflow_run:
|
||||
workflows:
|
||||
- Release HugoBlox Modules
|
||||
types:
|
||||
- completed
|
||||
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
|
||||
|
||||
jobs:
|
||||
packages_split:
|
||||
# Run normally for push/workflow_dispatch; for workflow_run only run on success
|
||||
if: ${{ github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success' }}
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
|
||||
Reference in new issue
Block a user