mirror of
https://github.com/araxiaonline/share-gh-workflows.git
synced 2026-06-13 02:22:20 -04:00
only tag and releae if it is a push
This commit is contained in:
2
.github/actions/build-tag-release/action.yml
vendored
2
.github/actions/build-tag-release/action.yml
vendored
@@ -78,7 +78,7 @@ runs:
|
||||
fi
|
||||
|
||||
- name: Tag Release on Success
|
||||
if: ${{ inputs.tag_release == 'true' }}
|
||||
if: ${{ inputs.tag_release == 'true' }} && ${{ inputs.event_name == 'push' }}
|
||||
uses: rymndhng/release-on-push-action@master
|
||||
with:
|
||||
bump_version_scheme: ${{ inputs.bump_version_scheme }}
|
||||
|
||||
Reference in New Issue
Block a user