From 8490d9e3d641735496153c75f03b6015aef6766b Mon Sep 17 00:00:00 2001 From: amcheste-ai-agent <278991699+amcheste-ai-agent@users.noreply.github.com> Date: Mon, 11 May 2026 21:08:47 -0400 Subject: [PATCH] ci: bump release-drafter to v7.3.0 and drop pull_request trigger MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Dependabot bumped release-drafter from v6 to v7.2.1 in #14, but the update failed CI. Root cause: v7 changed how target_commitish is resolved on pull_request events. v6 fell back to the default branch; v7 passes GITHUB_REF through unchanged, which on a PR event is refs/pull/N/merge. The GitHub Releases API rejects that — target must be a branch name or commit SHA. Two cleanups in one: 1. Remove pull_request from the on: block. release-drafter v7 moved autolabeling into a separate action (release-drafter/release-drafter/autolabeler). The drafter step itself only needs push events to develop/main to keep the draft current. 2. Pin to v7.3.0 (latest), not v7.2.1 (dependabot's stale snapshot). Closes the loop that #14 opened. Future dependabot bumps inside the v7 line will be clean. Co-Authored-By: Claude Opus 4.7 (1M context) Co-Authored-By: amcheste <13696614+amcheste@users.noreply.github.com> --- .github/workflows/release-drafter.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 1d7df64..a2470df 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -3,8 +3,6 @@ name: Release Drafter on: push: branches: [develop, main] - pull_request: - types: [opened, reopened, synchronize] workflow_dispatch: permissions: @@ -16,6 +14,6 @@ jobs: name: Update Release Draft runs-on: ubuntu-latest steps: - - uses: release-drafter/release-drafter@6a93d829887aa2e0748befe2e808c66c0ec6e4c7 # v6 + - uses: release-drafter/release-drafter@c2e2804cc59f45f57076a99af580d0fedb697927 # v7.3.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}