summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/release_beta_to_dev.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.github/workflows/release_beta_to_dev.yaml b/.github/workflows/release_beta_to_dev.yaml
index 1903e4197..800596b8a 100644
--- a/.github/workflows/release_beta_to_dev.yaml
+++ b/.github/workflows/release_beta_to_dev.yaml
@@ -9,6 +9,12 @@ jobs:
UI_DIRECTORY: ./frontend
FETCH_DEPTH: 15 # Should be enough
steps:
+ - name: Validate branch
+ if: ${{ github.ref != 'refs/heads/development' }}
+ run: |
+ echo This action can only be run on development branch, not ${{ github.ref }}
+ exit 1
+
- name: Checkout
uses: actions/checkout@v2
with: