Skip to content

Commit

Permalink
Merge pull request #162 from cta-observatory/add_release_drafter
Browse files Browse the repository at this point in the history
Add release drafter action.
  • Loading branch information
aleberti authored Oct 24, 2023
2 parents 670aa69 + b0c9f01 commit bb9d861
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
categories:
- title: "New features"
labels:
- "new functionality"
- "enhancement"
- title: "API Changes"
labels:
- "Breaking change"
- "API change"
- title: "Data Model Changes"
labels:
- "data model change"
- title: "Bug Fixes"
labels:
- "bug"
- "fix"
- title: "Refactoring and Optimization"
labels:
- "optimization"
- "refactoring"
- title: "Maintenance"
labels:
- "build"
- "documentation"
- "installation"
- "maintenance"
change-template: "- $TITLE (#$NUMBER) @$AUTHOR"
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
template: |
## Summary
...
## Contributors
$CONTRIBUTORS
## What has changed since $PREVIOUS_TAG
Pull-requests containing changes of multiple nature are repeated.
$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/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit bb9d861

Please sign in to comment.