Skip to content

Commit 9147dba

Browse files
committed
[ACS-9977]: ci update to make publish work only on master branch
1 parent 8e87b88 commit 9147dba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,8 @@ jobs:
176176
runs-on: ubuntu-latest
177177
needs: [tests]
178178
if: >
179-
contains(github.event.head_commit.message, '[publish]')
179+
contains(github.event.head_commit.message, '[publish]') &&
180+
github.ref_name == 'master'
180181
steps:
181182
- uses: actions/checkout@v4
182183
- uses: Alfresco/alfresco-build-tools/.github/actions/[email protected]

0 commit comments

Comments
 (0)