Skip to content

Commit 2a54478

Browse files
authored
Make sure release-drafter runs for the current commit (#1204)
The default is /heads/ref/main, which might be wrong if a PR is merged while this workflow is running
1 parent 830aa06 commit 2a54478

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ jobs:
3030
id: release-drafter
3131
env:
3232
GITHUB_TOKEN: ${{ github.token }}
33+
with:
34+
commitish: ${{ github.sha }}
3335
- name: Create tag
3436
uses: actions/github-script@v7
3537
with:

0 commit comments

Comments
 (0)