Post-merge #61
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: Post-process | |
on: | |
workflow_run: | |
branches: | |
- main | |
types: | |
- completed | |
workflows: | |
# List all required workflow names here. | |
- 'testing' | |
jobs: | |
# https://github.com/marketplace/actions/tag-release-on-push-action | |
auto-gen-release: | |
name: Tag/Release on merge of labeled PRs | |
runs-on: ubuntu-latest | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- # It is often a desired behavior to merge only when a workflow execution | |
# succeeds. This can be changed as needed. | |
if: ${{ github.event.workflow_run.conclusion == 'success' }} | |
uses: rymndhng/[email protected] | |
with: | |
# loonly release when PRs with release:major/minor/patch labels are merged | |
bump_version_scheme: norelease | |
use_github_release_notes: true | |
release_body: "See CHANGELOG for a complete list of changes." |