Merge pull request #57 from texpert/remove-redundant-returns-after-de… #9
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
on: | |
# Any pull request merged into master (hotfixes, releases) | |
# should publish the corresponding github release + git tag | |
push: | |
branches: | |
- main | |
- master | |
workflow_dispatch: # build a new release manually (create release branch pointing to master branch) | |
inputs: | |
version_name: | |
# Edit release_builder.json#base_branches to support other branches | |
description: 'Release version name, sample: 1.0.0 (Only "develop" branch is supported)' | |
required: true | |
name: Create Release | |
jobs: | |
release-builder: | |
uses: owen2345/reusable-ci-cd-actions/.github/workflows/release_builder.yml@main | |
with: | |
commit_mode: true | |
create_release_pr: ${{ github.event.inputs && github.event.inputs.version_name || '' }} | |
secrets: | |
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL || '' }} |