mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-21 16:38:23 +01:00
prevent running this workflow on unprotected branches
This commit is contained in:
parent
470dfb19b7
commit
78f838439a
1
.github/workflows/bump-version.yml
vendored
1
.github/workflows/bump-version.yml
vendored
@ -58,6 +58,7 @@ jobs:
|
||||
shell: bash
|
||||
|
||||
- name: "Push version bump: ${{ steps.bump-version.outputs.WAVETERM_VERSION }}"
|
||||
if: github.ref_protected
|
||||
run: |
|
||||
# Create a new commit for the package version bump in package.json
|
||||
export VERSION=${{ steps.bump-version.outputs.WAVETERM_VERSION }}
|
||||
|
Loading…
Reference in New Issue
Block a user