Bump release-drafter/release-drafter from 6 to 7#4169
Conversation
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>
|
The In v6 the action labeled the PR and skipped release creation. In v7 it appears to attempt creating the draft release even on Suggested fix before merging: pass - 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. |
|
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 If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
…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
Bumps release-drafter/release-drafter from 6 to 7.
Release notes
Sourced from release-drafter/release-drafter's releases.
... (truncated)
Commits
3a7fb5cchore: release v7.0.01bba8e8docs: broken link in contributing guide90c8b30docs(copilot): update instructions for Biomeea57e4cci: replace shell scripts with cross-platform TypeScript and simplify workflows5ed1f8cchore: update editor and devcontainer config for Biome68e853echore: reformat codebase with Biome and fix code smells720e969chore: migrate from ESLint + Prettier to Biomeee6226dfix(deps): update dependency compare-versions to 6.1.1 (#1547)9a48bb9chore(deps): update vitest to 4.1.0 (#1544)f62bd72chore(build): rebuild artifactsYou 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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)