Allow manual Release Drafter workflow runs (#5165)
This commit is contained in:
parent
0d4a6a64d2
commit
2d7ea7c043
|
@ -1,18 +1,22 @@
|
|||
# Creates a draft release with all the PR names since the last release.
|
||||
# https://github.com/ZcashFoundation/zebra/releases
|
||||
name: Release Drafter
|
||||
|
||||
on:
|
||||
# Automatically update the draft release every time a PR merges to `main`
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
# Manually update the draft release without waiting for a PR to merge
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
update_release_draft:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
# Drafts your next Release notes as Pull Requests are merged into main
|
||||
# Drafts your next Release notes
|
||||
- uses: release-drafter/release-drafter@v5
|
||||
with:
|
||||
# (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
|
||||
config-name: release-drafter.yml
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
Loading…
Reference in New Issue