Skip to content

Commit dc4a847

Browse files
authored
Merge pull request #6518 from FlowFuse/ci-fix-no-pre-staging-on-release
ci: No pre-staging deployment for a release branch
2 parents 877555b + e51eda3 commit dc4a847

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/branch-deploy.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ on:
3636
- synchronize
3737
- reopened
3838
- closed
39-
branches-ignore:
40-
- 'release-**'
4139
paths-ignore:
4240
- 'docs/**'
4341

@@ -57,7 +55,8 @@ jobs:
5755
runs-on: ubuntu-latest
5856
if: |
5957
(github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch') &&
60-
github.actor != 'dependabot[bot]'
58+
github.actor != 'dependabot[bot]' &&
59+
!startsWith(github.head_ref, 'release-')
6160
outputs:
6261
is_org_member: ${{ steps.validate.outputs.is_member }}
6362
steps:

0 commit comments

Comments
 (0)