We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 11a1351 + 4ec4c7d commit 31b8032Copy full SHA for 31b8032
1 file changed
.github/workflows/release-drafter.yml
@@ -25,6 +25,10 @@ jobs:
25
# otherwise, read permission is required at least
26
pull-requests: write
27
runs-on: ubuntu-latest
28
+ # Only update the release draft on push to main, not on pull_request events.
29
+ # Running on PRs causes "Validation Failed: target_commitish" because
30
+ # release-drafter tries to set refs/pull/NNN/merge as the release target.
31
+ if: github.event_name == 'push'
32
steps:
33
# (Optional) GitHub Enterprise requires GHE_HOST variable set
34
#- name: Set GHE_HOST
0 commit comments