Skip to content

Commit 515e31b

Browse files
committed
fix commit-message binding
1 parent b505e70 commit 515e31b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/powershell.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
name: Powershell CI
1111
run-name: >-
1212
Validate ${{
13-
github.event_name == 'push' && format(': {0}', github.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'

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Publish to PSGallery
22
run-name: >-
33
Publish
4-
${{ github.event_name == 'push' && format(': {0}', github.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'

0 commit comments

Comments
 (0)