Allow manual Release Drafter workflow runs (#5165)

This commit is contained in:
teor 2022-09-15 09:38:19 +10:00 committed by GitHub
parent 0d4a6a64d2
commit 2d7ea7c043
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 2 deletions

View File

@ -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 name: Release Drafter
on: on:
# Automatically update the draft release every time a PR merges to `main`
push: push:
branches: branches:
- main - main
# Manually update the draft release without waiting for a PR to merge
workflow_dispatch:
jobs: jobs:
update_release_draft: update_release_draft:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
# Drafts your next Release notes as Pull Requests are merged into main # Drafts your next Release notes
- uses: release-drafter/release-drafter@v5 - uses: release-drafter/release-drafter@v5
with: with:
# (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
config-name: release-drafter.yml config-name: release-drafter.yml
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}