Skip to content

Commit 8788b29

Browse files
committed
em dashes
1 parent 98b5f42 commit 8788b29

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/publish-to-psgallery.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
name: Publish to PSGallery
22
run-name: >-
33
Publish
4-
${{ github.event_name == 'push' && format('-- {0}', github.event.head_commit.message)
4+
${{ github.event_name == 'push' && format(' {0}', github.event.head_commit.message)
55
|| github.event_name == 'pull_request' && format('PR #{0}: {1}', github.event.pull_request.number, github.event.pull_request.title)
66
|| github.event_name == 'schedule' && 'Scheduled'
77
|| github.event_name == 'workflow_dispatch' && 'Manual Dispatch'
8-
|| github.event_name == 'workflow_run' && format('from workflow {0}', github.event.workflow_run.display_title)
8+
|| github.event_name == 'workflow_run' && format(' {0}', github.event.workflow_run.display_title)
99
|| format('CI Run for commit {0}', github.sha)
1010
}}
1111
@@ -42,5 +42,6 @@ jobs:
4242

4343
- name: Warn if previous step failed
4444
if: steps.publish-modules.outcome == 'failure'
45+
shell: pwsh
4546
run: |
46-
echo "::warning::Step 'publish-modules' failed but was ignored due to continue-on-error."
47+
"::warning::Step 'publish-modules' failed but was ignored due to continue-on-error."

.github/workflows/validate-powershell.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
name: Powershell CI
1111
run-name: >-
1212
Validate
13-
${{ github.event_name == 'push' && format('-- {0}', github.event.head_commit.message)
13+
${{ github.event_name == 'push' && format(' {0}', github.event.head_commit.message)
1414
|| github.event_name == 'pull_request' && format('PR #{0}: {1}', github.event.pull_request.number, github.event.pull_request.title)
1515
|| github.event_name == 'schedule' && 'Scheduled'
1616
|| github.event_name == 'workflow_dispatch' && 'Manual Dispatch'
17-
|| github.event_name == 'workflow_run' && format('from workflow {0}', github.event.workflow_run.display_title)
17+
|| github.event_name == 'workflow_run' && format(' {0}', github.event.workflow_run.display_title)
1818
|| format('CI Run for commit {0}', github.sha)
1919
}}
2020

0 commit comments

Comments
 (0)