actix-web icon indicating copy to clipboard operation
actix-web copied to clipboard

ci: check semver on labelling PRs

Open robjtede opened this issue 1 year ago • 2 comments

PR Type

CI

PR Checklist

  • [x] Tests for the changes have been added / updated.
  • [x] Documentation comments have been added / updated.
  • [x] A changelog entry has been made for the appropriate packages.
  • [x] Format code with the latest stable rustfmt.
  • [x] (Team) Label with affected crates and semver status.

Overview

When labelling PRs with B-semver-<type:major|minor|patch>, trigger job checking semver compatibility for a release of <type>.

robjtede avatar Dec 16 '23 10:12 robjtede

Hmm... this random idea worked out well. It's a kind of interesting technique.

@JohnTitor you might be interested in this for other projects?

robjtede avatar Dec 16 '23 11:12 robjtede

Actually I should do some negative tests before we adopt this.

And address amendments to a PR being able to run the same job without needing to re-label it.

robjtede avatar Dec 16 '23 11:12 robjtede