mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Reformat run-name
on workflows
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
parent
943c1ab574
commit
b39eef5727
10 changed files with 10 additions and 10 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -2,7 +2,7 @@
|
|||
# Instead, edit the template '.github/workflows/templates/ci.yml.jinja'
|
||||
---
|
||||
name: CI
|
||||
run-name: "CI (${{ github.event_name == 'pull_request' && format('PR: #{0}', github.event.number) || format('Branch: {0}', github.ref_name) }})"
|
||||
run-name: "CI (${{ github.event_name == 'pull_request' && format('pr: #{0}', github.event.number) || format('branch: {0}', github.ref_name) }})"
|
||||
on:
|
||||
push: {}
|
||||
pull_request: {}
|
||||
|
|
2
.github/workflows/nightly.yml
vendored
2
.github/workflows/nightly.yml
vendored
|
@ -3,7 +3,7 @@
|
|||
---
|
||||
|
||||
name: Nightly
|
||||
run-name: "Nightly (${{ format('Branch: {0}', github.ref_name) }})"
|
||||
run-name: "Nightly (branch: ${{ github.ref_name }})"
|
||||
|
||||
on:
|
||||
workflow_dispatch: {}
|
||||
|
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
@ -3,7 +3,7 @@
|
|||
---
|
||||
|
||||
name: Release
|
||||
run-name: "Release (${{ format('Branch: {0} // Version: {1}', github.ref_name, inputs.salt-version) }})"
|
||||
run-name: "Release (branch: ${{ github.ref_name }}; version: ${{ inputs.salt-version }})"
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
|
2
.github/workflows/scheduled.yml
vendored
2
.github/workflows/scheduled.yml
vendored
|
@ -3,7 +3,7 @@
|
|||
---
|
||||
|
||||
name: Scheduled
|
||||
run-name: "Scheduled (${{ format('Branch: {0}', github.ref_name) }})"
|
||||
run-name: "Scheduled (branch: ${{ github.ref_name }})"
|
||||
|
||||
on:
|
||||
schedule:
|
||||
|
|
2
.github/workflows/staging.yml
vendored
2
.github/workflows/staging.yml
vendored
|
@ -3,7 +3,7 @@
|
|||
---
|
||||
|
||||
name: Stage Release
|
||||
run-name: "Stage Release (${{ format('Branch: {0} // Version: {1}', github.ref_name, inputs.salt-version) }})"
|
||||
run-name: "Stage Release (branch: ${{ github.ref_name }}; version: ${{ inputs.salt-version }})"
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
|
2
.github/workflows/templates/layout.yml.jinja
vendored
2
.github/workflows/templates/layout.yml.jinja
vendored
|
@ -16,7 +16,7 @@
|
|||
---
|
||||
<%- block name %>
|
||||
name: <{ workflow_name }>
|
||||
run-name: "<{ workflow_name }> (${{ github.event_name == 'pull_request' && format('PR: #{0}', github.event.number) || format('Branch: {0}', github.ref_name) }})"
|
||||
run-name: "<{ workflow_name }> (${{ github.event_name == 'pull_request' && format('pr: #{0}', github.event.number) || format('branch: {0}', github.ref_name) }})"
|
||||
<%- endblock name %>
|
||||
|
||||
<%- block on %>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<%- block name %>
|
||||
|
||||
name: <{ workflow_name }>
|
||||
run-name: "<{ workflow_name }> (${{ format('Branch: {0}', github.ref_name) }})"
|
||||
run-name: "<{ workflow_name }> (branch: ${{ github.ref_name }})"
|
||||
|
||||
<%- endblock name %>
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<%- block name %>
|
||||
|
||||
name: <{ workflow_name }>
|
||||
run-name: "<{ workflow_name }> (${{ format('Branch: {0} // Version: {1}', github.ref_name, inputs.salt-version) }})"
|
||||
run-name: "<{ workflow_name }> (branch: ${{ github.ref_name }}; version: ${{ inputs.salt-version }})"
|
||||
|
||||
<%- endblock name %>
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<%- block name %>
|
||||
|
||||
name: <{ workflow_name }>
|
||||
run-name: "<{ workflow_name }> (${{ format('Branch: {0}', github.ref_name) }})"
|
||||
run-name: "<{ workflow_name }> (branch: ${{ github.ref_name }})"
|
||||
|
||||
<%- endblock name %>
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<%- block name %>
|
||||
|
||||
name: <{ workflow_name }>
|
||||
run-name: "<{ workflow_name }> (${{ format('Branch: {0} // Version: {1}', github.ref_name, inputs.salt-version) }})"
|
||||
run-name: "<{ workflow_name }> (branch: ${{ github.ref_name }}; version: ${{ inputs.salt-version }})"
|
||||
|
||||
<%- endblock name %>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue