Skip to content

Commit

Permalink
[CI] add run name support for actions (#1031)
Browse files Browse the repository at this point in the history
* [CI] add run name support

* [CI] update description
  • Loading branch information
CSY-ModelCloud authored Jan 6, 2025
1 parent 75d4ac9 commit ecd54dc
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: Release

run-name: "${{ github.event.inputs.title }}"

defaults:
run:
shell: bash -le {0}
Expand All @@ -9,6 +11,10 @@ on:
repository_dispatch:
workflow_dispatch:
inputs:
title:
description: 'set a title for this run'
required: false
default: ''
repo:
description: 'GitHub repo {owner}/{repo}'
required: false
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: Unit Tests

run-name: "${{ github.event.inputs.title }}"

defaults:
run:
shell: bash -le {0}
Expand All @@ -8,6 +10,10 @@ on:
repository_dispatch:
workflow_dispatch:
inputs:
title:
description: 'set a title for this run'
required: false
default: ''
repo:
description: 'GitHub repo {owner}/{repo}'
required: false
Expand Down Expand Up @@ -37,7 +43,7 @@ on:
required: false
default: '10'
m4-only:
description: 'only run m4(test only)'
description: 'run only m4 test only'
type: boolean
required: false
default: false
Expand Down

0 comments on commit ecd54dc

Please sign in to comment.