Skip to content

Commit

Permalink
feat(ci): updated release-drafter (#641)
Browse files Browse the repository at this point in the history
* updated release-drafter

* removed autolabeler

* fixed indentation
  • Loading branch information
aali309 authored Oct 4, 2023
1 parent 81a32e9 commit 27e44e6
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 51 deletions.
61 changes: 19 additions & 42 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,46 +1,23 @@
categories:
- title: 'Features'
label: 'feat'
- title: 'Fixes'
label: 'fix'
- title: 'Documentation'
label: 'docs'
- title: 'Maintenance'
labels:
- 'chore'
- 'ci'
- 'cleanup'
- 'perf'
- 'refactor'
- 'style'
- 'test'

autolabeler:
- label: 'feat'
title: '/^feat:/'
- label: 'fix'
title: '/^fix:/'
- label: 'docs'
title: '/^docs:/'

- label: 'chore'
title: '/^chore:/'
- label: 'ci'
title: '/^ci:/'
- label: 'cleanup'
title: '/^cleanup:/'
- label: 'perf'
title: '/^perf:/'
- label: 'refactor'
title: '/^refactor:/'
- label: 'style'
title: '/^style:/'
- label: 'test'
title: '/^test:/'
- title: 'Features'
label: 'feat'
- title: 'Fixes'
label: 'fix'
- title: 'Documentation'
label: 'docs'
- title: 'Maintenance'
labels:
- 'chore'
- 'ci'
- 'cleanup'
- 'perf'
- 'refactor'
- 'style'
- 'test'

template: |
## Contributors
$CONTRIBUTORS
## What's Changed
$CHANGES
## Contributors
$CONTRIBUTORS
## What's Changed
$CHANGES
9 changes: 0 additions & 9 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,10 @@ on:
# branches to consider in the event; optional, defaults to all
branches:
- main
# pull_request event is required only for autolabeler
pull_request:
# Only following types are handled by the action, but one can default to all as well
types:
- opened
- reopened
- synchronize

jobs:
update_release_draft:
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
steps:
# Drafts your next Release notes as Pull Requests are merged into "main"
Expand Down

0 comments on commit 27e44e6

Please sign in to comment.