File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed
Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change 9393 | endswith("-dev") as $is_dev
9494 | {version: ., is_dev: $is_dev}
9595
96+ - name : Commit messsage
97+ id : commit-message
98+ uses :
envoyproxy/toolshed/gh-actions/[email protected] 99+ with :
100+ options : -Rr
101+ input : |
102+ ${{ inputs.commit-message }}
103+ filter : |
104+ split("\n") | first
96105 - name : Status summary
97106 uses :
envoyproxy/toolshed/gh-actions/[email protected] 98107 with :
@@ -105,7 +114,7 @@ jobs:
105114 repository: ${{ inputs.repository }}
106115 pr: ${{ inputs.pr }}
107116 commit_message: |
108- ${{ inputs .commit-message }}
117+ ${{ steps .commit-message.outputs.value }}
109118 input-format : yaml
110119 options : -r
111120 output-path : GITHUB_STEP_SUMMARY
@@ -114,7 +123,6 @@ jobs:
114123 | .conclusion as $conclusion
115124 | .continue as $continue
116125 | .repository as $repo
117- | (.commit_message | split("\n") | first) as $commit_message
118126 | (if .bins.is_dev then ""
119127 else "**(RELEASE)**"
120128 end) as $bins_release
@@ -129,7 +137,7 @@ jobs:
129137 else {} end) as $pr
130138 | (if $pr.number then
131139 $pr.title // "PR #\($pr.number)"
132- else $ commit_message
140+ else . commit_message
133141 end) as $title
134142 | (if $pr.number then
135143 "${{ inputs.template-pr-link }}"
You can’t perform that action at this time.
0 commit comments