Release Drafter #33
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
name: Release Drafter | |
# Runs autolabeler on every PR | |
# Creates/updates draft release on every push to master | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: [opened, reopened, synchronize] | |
workflow_dispatch: | |
jobs: | |
update-release-draft: | |
name: Update Release Draft | |
runs-on: ubuntu-latest | |
steps: | |
- name: Update release draft | |
uses: release-drafter/[email protected] | |
with: | |
# allows autolabeler to run without unmerged PRs from being added to draft | |
disable-releaser: ${{ github.ref_name != github.event.repository.default_branch }} # Should be the branch that gets releases | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |