Skip to content

Commit a0f8615

Browse files
committed
zzz
1 parent adacfc6 commit a0f8615

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/dotnet.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
- name: Print messages
7171
shell: pwsh
7272
env:
73-
MY_MSG: ${{ github.event.pull_request.merged == true && format('#{0}', github.event.pull_request.number) || github.sha }}
73+
MY_MSG: ${{ github.event_name == 'pull_request' && format('#{0}', github.event.pull_request.number) || github.sha }}
7474
run: |
7575
# github.event.pull_request.merged == true
7676
Write-Host "Message = $env:MY_MSG"

0 commit comments

Comments
 (0)