File tree Expand file tree Collapse file tree 2 files changed +20
-21
lines changed
Expand file tree Collapse file tree 2 files changed +20
-21
lines changed Original file line number Diff line number Diff line change 1010<%- elif github_environment_selector == 'single' -%>
1111<%- set _ = github_default_kayobe_arguments.update({"KAYOBE_ENVIRONMENT": github_kayobe_environments[0] }) -%>
1212<%- endif -%>
13- <% include "header.yml.j2" +%>
13+ name: %% format_file_name(workflow.file_name, is_title=true) %%
14+
15+ on:
16+ <%- if workflow.trigger is defined +%>
17+ <%- for trigger_name in workflow.trigger.keys() +%>
18+ <%- if trigger_name == 'schedule' +%>
19+ schedule:
20+ - cron: '%% workflow.trigger['schedule']['cron'] %%'
21+ <%- elif trigger_name == 'workflow_dispatch' +%>
22+ workflow_dispatch:
23+ <%- if workflow.trigger['workflow_dispatch'] is not none +%>
24+ inputs:
25+ %% workflow.trigger['workflow_dispatch'] | flatten | join('') | indent(6) | trim %%
26+ <%- if github_environment_selector == 'input' +%>
27+ %% github_kayobe_environment_input | flatten | join('') | indent(6) | trim %%
28+ <%- endif +%>
29+ <%- endif +%>
30+ <%- endif +%>
31+ <%- endfor +%>
32+ <%- endif +%>
1433
1534jobs:
1635 prepare-runner:
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments