From c599f0d92bb3d1e48e94fe444cc10e973479db56 Mon Sep 17 00:00:00 2001 From: Dale Wijnand Date: Mon, 29 Jun 2020 09:56:39 +0100 Subject: [PATCH] Configure Release Drafter & Mergify --- .github/release-drafter.yml | 15 +++++++++++++++ .mergify.yml | 18 ++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 .github/release-drafter.yml create mode 100644 .mergify.yml diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 0000000..673d157 --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,15 @@ +# https://github.com/marketplace/actions/release-drafter +name-template: '$NEXT_PATCH_VERSION' + +change-template: '* $TITLE: $BODY. [#$NUMBER](https://github.com/dwijnand/sbt-dynver/pull/$NUMBER) by [@$AUTHOR](https://github.com/$AUTHOR)' + +categories: + - title: 'Dependency Updates' + label: 'type: dependencies' + +template: | + ## Changes + + $CHANGES + + https://github.com/dwijnand/sbt-dynver/compare/$PREVIOUS_TAG...$NEXT_PATCH_VERSION diff --git a/.mergify.yml b/.mergify.yml new file mode 100644 index 0000000..c51c441 --- /dev/null +++ b/.mergify.yml @@ -0,0 +1,18 @@ +pull_request_rules: + - name: Label scala-steward's PRs + conditions: + - author=scala-steward + actions: + label: + add: [dependency-update] + - name: Merge ScalaSteward's PRs + conditions: + - author=scala-steward + - status-success=Travis CI - Pull Request + # or, using the modern travis-ci.com service: + # - status-success=continuous-integration/travis-ci/pr + - "#changes-requested-reviews-by=0" + - "#review-requested=0" + actions: + merge: + method: merge