Skip to content

Commit

Permalink
Try out run-name
Browse files Browse the repository at this point in the history
  • Loading branch information
GREsau committed Aug 3, 2023
1 parent 0b92275 commit ef977c8
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
name: Test
run-name: |
Test ${{
(github.event_name == 'push' && format('commit - {0}', github.event.head_commit.message)) ||
(github.event_name == 'pull_request' && format('PR #{0} - {1}', github.event.number, github.event.pull_request.title)) ||
format('{0} (manually triggered)', github.ref_name)
}}
permissions:
contents: read

Expand All @@ -11,7 +17,7 @@ on:

jobs:
test:
name: Test (${{ github.ref_name }})
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit ef977c8

Please sign in to comment.