-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add workflows for version bumping / releasing, CI
Wasn't originally planning on this, but added in additional CI workflows to help with versioning from PRs, making the process less manual. This will help with building the documentations as well. Adds bump_version workflow and release-drafter for creating notes. Also incorporates some CI changes that were already introduced in #192.
- Loading branch information
Showing
3 changed files
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
name-template: $RESOLVED_VERSION | ||
tag-template: v$RESOLVED_VERSION | ||
filter-by-commitish: true | ||
template: | | ||
## Changes | ||
$CHANGES | ||
categories: | ||
- title: 🚀 Features | ||
labels: [breaking, enhancement] | ||
- title: 🐛 Bug Fixes | ||
labels: [bug] | ||
- title: 🧰 Maintenance | ||
labels: [maintenance, test] | ||
- title: 📝 Documentation | ||
labels: [documentation] | ||
exclude-labels: [skip_changelog] | ||
change-template: "- $TITLE @$AUTHOR (#$NUMBER)" | ||
change-title-escapes: \<*_& # You can add # and @ to disable mentions, and add ` to disable code blocks. | ||
version-resolver: | ||
major: | ||
labels: [breaking] | ||
minor: | ||
labels: [enhancement] | ||
patch: | ||
labels: [maintenance, bug, test, documentation] | ||
default: patch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
name: Bump version | ||
on: | ||
pull_request_target: | ||
types: [closed] | ||
jobs: | ||
bump-version: | ||
if: github.event.pull_request.merged == true | ||
uses: khanlab/actions/.github/workflows/workflow-version_task-semverGithub.yml@v0.2.1 | ||
secrets: | ||
BP-PAT: ${{ secrets.BP_PAT_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
name: Release package | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
comments: | ||
description: Comments | ||
required: false | ||
jobs: | ||
release_package: | ||
uses: khanlab/actions/.github/workflows/workflow-release_task-publishGithub.yml@v0.2.1 | ||
with: | ||
comments: ${{ github.event.inputs.comments }} | ||
secrets: | ||
BP-PAT: ${{ secrets.BP_PAT_TOKEN }} |