We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4f15fe commit 983ed55Copy full SHA for 983ed55
.github/workflows/_publish.yml
@@ -19,10 +19,13 @@ on:
19
default: false
20
type: boolean
21
event:
22
- default: ${{ github.event_name }}
+ default: ${{ github.event.workflow_run.event }}
23
type: string
24
pr:
25
- default: ${{ github.event.pull_request && toJSON(github.event.pull_request) || '{}' }}
+ default: >-
26
+ ${{ github.event.workflow_run.event == 'pull_request'
27
+ && toJSON(github.event.workflow_run.pull_requests)[0]
28
+ || '{}' }}
29
30
repository:
31
default: ${{ github.repository }}
@@ -97,7 +100,7 @@ jobs:
97
100
id: commit-message
98
101
uses: envoyproxy/toolshed/gh-actions/[email protected]
99
102
with:
- options: -Rr
103
+ options: -sRr
104
input: |
105
${{ inputs.commit-message }}
106
filter: |
0 commit comments