Update release-drafter.yml #8
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
# push workflow is shared and expected to perform actions after a merge happens | |
# on a maintenance branch (default or release). For example updating the | |
# draft release-notes. | |
name: push | |
on: | |
push: | |
# branches to consider in the event; optional, defaults to all | |
branches: | |
- main | |
- 'releases/**' | |
- 'stable/**' | |
workflow_call: # allows reuse of this workflow from other devtools repos | |
jobs: | |
update_release_draft: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: release-drafter/release-drafter@v5 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |