Skip to content

Commit 6bba3d1

Browse files
committed
Use ref.name to avoid clashes when building PRs
- PRs (regs/pull/xxx/merge) are not accepted by release-drafter. Only real refs like (refs/heads/release/13.2)
1 parent f814c1b commit 6bba3d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release-drafter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ jobs:
2121
- uses: release-drafter/release-drafter@v7
2222
with:
2323
config-name: release-drafter.yml
24-
commitish: ${{ github.ref }}
24+
commitish: ${{ github.event_name == 'push' && github.ref_name || 'release/13.2' }}
2525
env:
2626
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)