Skip to content

Commit b453824

Browse files
authored
👷 ci: Pass ensure-release-action-is-not-running action if branch is "release/" (#1290)
1 parent 3796920 commit b453824

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

‎.github/workflows/ensure-release-notrunning.yml‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
uses: ./.github/actions/ghasum
2828

2929
- name: Check for running release action
30+
if: ${{ !startsWith(github.head_ref, 'release/') }}
3031
env:
3132
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3233
run: |
@@ -38,3 +39,9 @@ jobs:
3839
echo "✅ No running release workflows detected."
3940
fi
4041
shell: bash
42+
43+
- name: Skip check for release branch
44+
if: ${{ startsWith(github.head_ref, 'release/') }}
45+
run: |
46+
echo "✅ Skipping release workflow check for release branch: ${{ github.head_ref }}"
47+
shell: bash

0 commit comments

Comments
 (0)