Skip to content

Bump release-drafter/release-drafter from 6 to 7#4169

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/github_actions/release-drafter/release-drafter-7
Closed

Bump release-drafter/release-drafter from 6 to 7#4169
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/github_actions/release-drafter/release-drafter-7

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Mar 16, 2026

Copy link
Copy Markdown
Contributor

Bumps release-drafter/release-drafter from 6 to 7.

Release notes

Sourced from release-drafter/release-drafter's releases.

v7.0.0

What's Changed

Breaking

Bug Fixes

Maintenance

Documentation

Other changes

Dependency Updates

Full Changelog: release-drafter/release-drafter@v6.4.0...v7.0.0

v6.4.0

What's Changed

New

Maintenance

... (truncated)

Commits
  • 3a7fb5c chore: release v7.0.0
  • 1bba8e8 docs: broken link in contributing guide
  • 90c8b30 docs(copilot): update instructions for Biome
  • ea57e4c ci: replace shell scripts with cross-platform TypeScript and simplify workflows
  • 5ed1f8c chore: update editor and devcontainer config for Biome
  • 68e853e chore: reformat codebase with Biome and fix code smells
  • 720e969 chore: migrate from ESLint + Prettier to Biome
  • ee6226d fix(deps): update dependency compare-versions to 6.1.1 (#1547)
  • 9a48bb9 chore(deps): update vitest to 4.1.0 (#1544)
  • f62bd72 chore(build): rebuild artifacts
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [release-drafter/release-drafter](https://github.com/release-drafter/release-drafter) from 6 to 7.
- [Release notes](https://github.com/release-drafter/release-drafter/releases)
- [Commits](release-drafter/release-drafter@v6...v7)

---
updated-dependencies:
- dependency-name: release-drafter/release-drafter
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Mar 16, 2026
@xerial

xerial commented May 3, 2026

Copy link
Copy Markdown
Member

The update_PR_labels check is failing on this v6→v7 upgrade with:

##[error]Resource not accessible by integration - https://docs.github.com/rest/releases/releases#create-a-release

In v6 the action labeled the PR and skipped release creation. In v7 it appears to attempt creating the draft release even on pull_request events, which fails because .github/workflows/release-drafter.yml only grants pull-requests: write (no contents: write).

Suggested fix before merging: pass disable-releaser: true to the action when running on pull_request/pull_request_target events, e.g.:

- uses: release-drafter/release-drafter@v7
  with:
    disable-releaser: ${{ github.event_name != 'push' }}
  env:
    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Or split the autolabeler step from the release drafter step. Holding this PR for human review.

@xerial

xerial commented May 3, 2026

Copy link
Copy Markdown
Member

Superseded by #4177 — that PR removes release-drafter entirely and replaces it with actions/labeler@v5 for path-based PR labeling. Once #4177 merges, this PR can be closed.

@xerial xerial closed this in #4177 May 3, 2026
@dependabot @github

dependabot Bot commented on behalf of github May 3, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot Bot deleted the dependabot/github_actions/release-drafter/release-drafter-7 branch May 3, 2026 23:21
pull Bot pushed a commit to Stars1233/airframe that referenced this pull request May 4, 2026
…let#4177)

## Summary

- Drop `release-drafter` (config + workflow). It was only used as an
autolabeler here — release notes are produced by `gh release create
--generate-notes` reading `.github/release.yml` (see
`.github/workflows/release-note.yml`).
- Add `actions/labeler@v5` with `.github/labeler.yml` for path-based and
head-branch labeling.

Motivation: release-drafter@v7 attempts to create a draft release on
every `pull_request` event, which fails on Dependabot PRs because the
workflow only grants `pull-requests: write` (see wvlet#4169). Since we don't
actually use release-drafter for releases, swapping to `actions/labeler`
is cleaner than working around the v7 behavior.

Closes wvlet#4169.

### Label rules in the new config

| Label | Trigger |
|---|---|
| `doc` | files: `**/*.md`, `docs/**` |
| `internal` | files: `.github/**`, `project/**`, `scripts/**`, `sbt`,
`.scalafmt.conf`, `.scalafix.conf` |
| `feature` | branch: `^feature/`, `^feat/` |
| `bug` | branch: `^fix/`, `^bug/` |
| `deprecation` | branch: `^deprecate/` |

`library-update` / `dependencies` are already applied by scala-steward /
dependabot.

## Test plan

- [ ] Once merged, verify a follow-up PR with markdown changes gets
labeled `doc`
- [ ] Verify a `fix/` branch PR gets labeled `bug`
- [ ] wvlet#4169 (release-drafter v7 dependabot PR) becomes obsolete and can
be closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant