Add event type to environment for debugging workflow
This commit is contained in:
1
.github/workflows/publish.yml
vendored
1
.github/workflows/publish.yml
vendored
@@ -25,6 +25,7 @@ jobs:
|
||||
&& github.event.workflow_run.head_branch
|
||||
|| format('{0}/{1}', github.event.workflow_run.head_repository.full_name, github.event.workflow_run.head_branch)
|
||||
}}
|
||||
EVENT: ${{ github.event.workflow_run.event }}
|
||||
PR_NUMBER: |
|
||||
${{
|
||||
github.event.workflow_run.event == 'pull_request'
|
||||
|
||||
Reference in New Issue
Block a user