Fix release-drafter autolabeler inputs ignored on v7

Open
#549 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
55/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
github-actions, kotlin
Domain
ci-cd, devops

Research direction

Start with .github/workflows/release.yml and .github/release-drafter.yml; check the v7 inputs and the documented category conditions for release-drafter. Keep the existing autolabeler rules while moving them to a supported mechanism, then migrate the category labels. Done means a PR titled with 🐛 gets the bug label and a push to master updates the draft.

Written by the indexing model from the issue text.

Description

chore priority: low

Problem

.github/workflows/release.yml passes disable-releaser and disable-autolabeler to release-drafter/release-drafter v7.11.0. The action logs:

Unexpected input(s) 'disable-releaser', 'disable-autolabeler', valid inputs are [...]

As a result, PRs are not labeled from the gitmoji title or branch name, and labels had to be added by hand (#542, #543, #544). The log also warns that categories[*].labels is deprecated in favour of when conditions.

Tasks

  • Move autolabeling to the mechanism supported by release-drafter v7 (or a separate labeler action) and keep the existing autolabeler rules.
  • Migrate categories[*].labels in .github/release-drafter.yml.
  • Confirm a PR with a 🐛 title gets bug and a push to master updates the draft only.
Dominant language
Kotlin
Stars
1
Forks
1
Avg merge
23h 35m
Merged PRs (30d)
36

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from morinoparty/MineAuth

All issues in morinoparty/MineAuth

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.