prevent running this workflow on unprotected branches

This commit is contained in:
Evan Simkowitz 2024-09-20 09:58:35 -07:00
parent 470dfb19b7
commit 78f838439a
No known key found for this signature in database

View File

@ -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 }}