Skip to content

Commit

Permalink
Merge pull request #432 from profunktor/ci/release-drafter
Browse files Browse the repository at this point in the history
CI: Release drafter
  • Loading branch information
gvolpe authored Dec 6, 2020
2 parents 7791102 + 6122168 commit 833a967
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 1 deletion.
15 changes: 15 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name-template: 'v$NEXT_PATCH_VERSION'
tag-template: 'v$NEXT_PATCH_VERSION'
categories:
- title: '🔧 Internal Changes'
label: 'internal'
- title: '📗 Documentation'
label: 'documentation'
- title: '🤖 Dependency Updates'
label: 'dependency-update'
exclude-labels:
- 'maintenance'
template: |
## 🚀 Changes
$CHANGES
14 changes: 14 additions & 0 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Release Drafter

on:
push:
branches:
- master

jobs:
update_release_draft:
runs-on: ubuntu-latest
steps:
- uses: release-drafter/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
10 changes: 9 additions & 1 deletion .mergify.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
pull_request_rules:
- name: assign and label scala-steward's PRs
conditions:
- author=scala-steward
actions:
label:
add: [dependency-update]
- name: automatically merge Scala Steward PRs on CI success
conditions:
- author=scala-steward
- "status-success=Build (8.0.242)"
- "status-success=Build (jdk8)"
- "status-success=Build (jdk11)"
- "status-success=Build (jdk14)"
actions:
merge:
method: merge

0 comments on commit 833a967

Please sign in to comment.