Skip to content

Commit c6a6db8

Browse files
committed
Try basing the GH release on github.ref_name instead of github.ref.
Using github.ref as action-gh-release's target_commitish produces: ⚠️ GitHub release failed with status: 422 [{"resource":"Release","code":"invalid","field":"target_commitish"}]
1 parent a908b4c commit c6a6db8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ jobs:
382382
${{ needs.build.outputs.relnotes }}
383383
prerelease: true
384384
generate_release_notes: true
385-
target_commitish: ${{ github.ref }}
385+
target_commitish: ${{ github.ref_name }}
386386
append_body: true
387387
fail_on_unmatched_files: true
388388
files: |

0 commit comments

Comments
 (0)