Make release drafter run manually (#763)

pull/765/head
Next Turn 2020-12-30 01:06:54 +08:00 committed by GitHub
parent c19e48b943
commit 5a95c760a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 17 deletions

View File

@ -1,5 +1,11 @@
# https://docs.github.com/free-pro-team@latest/github/administering-a-repository/configuration-options-for-dependency-updates
version: 2 version: 2
updates: updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
- package-ecosystem: "nuget" - package-ecosystem: "nuget"
directory: "/" directory: "/"
schedule: schedule:

View File

@ -1,12 +1,12 @@
# Configuration for Release Drafter: https://github.com/toolmantim/release-drafter # Configuration for Release Drafter: https://github.com/release-drafter/release-drafter
name-template: WinSW v$NEXT_PATCH_VERSION name-template: WinSW v$NEXT_PATCH_VERSION
tag-template: v$NEXT_PATCH_VERSION tag-template: v$NEXT_PATCH_VERSION
# This repo follows the Semantic Versioning 2.0.0 approach: https://semver.org/
# This repo follows the Semantic Versioning 2.0.0 convention: https://semver.org/spec/v2.0.0.html
version-template: $MAJOR.$MINOR.$PATCH version-template: $MAJOR.$MINOR.$PATCH
template: | template: $CHANGES
<!-- Optional: add a release summary here -->
$CHANGES
# Emoji reference: https://gitmoji.carloscuesta.me/ # Emoji reference: https://gitmoji.carloscuesta.me/
categories: categories:
@ -14,18 +14,18 @@ categories:
label: removed label: removed
- title: ⚠️ Deprecated - title: ⚠️ Deprecated
label: deprecated label: deprecated
- title: ":tada: New features" - title: 🎉 New features
label: new-feature label: new-feature
- title: 🚀 Enhancements - title: 🚀 Enhancements
label: enhancement label: enhancement
- title: 🐛 Bug Fixes - title: 🐛 Bug fixes
label: bug label: bug
- title: ":package: Packaging changes" - title: 📦 Packaging changes
label: packaging label: packaging
- title: 📝 Documentation updates - title: 📝 Documentation updates
label: documentation label: documentation
# Default label used by Dependabot # Default label used by Dependabot
- title: ":arrow_up: Dependency updates" - title: ⬆️ Dependency updates
label: dependencies label: dependencies
- title: 👻 Maintenance - title: 👻 Maintenance
labels: labels:

View File

@ -1,16 +1,11 @@
name: Release Management name: Changelog Management
on: on: workflow_dispatch
push:
# branches to consider in the event; optional, defaults to all
branches:
- master
jobs: jobs:
update_draft_release: update_draft_release:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
# Drafts your next Release notes as Pull Requests are merged into "master" - uses: release-drafter/release-drafter@v5.13.0
- uses: toolmantim/release-drafter@v5.11.0
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}