Skip to content

Commit a21f6e4

Browse files
committed
ci: allow semantic-release to run on ci/ branches (better disable after test)
1 parent ec972e9 commit a21f6e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,13 @@ jobs:
6262
env:
6363
SMOKETEST_DOCKER_IMAGE: python:${{ steps.setup.outputs.python-version }}
6464
release:
65-
if: ( github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/ci/') )
65+
if: ( github.ref_name == 'master' || startsWith(github.ref_name, 'ci/') )
6666
#needs: ['smoketest','lint','test']
6767
runs-on: ubuntu-latest
6868
steps:
6969
- uses: actions/checkout@v5
7070
- uses: ./.github/actions/setup-semantic-release
71-
- run: semantic-release
71+
- run: semantic-release --branches ${{ github.ref_name }}
7272
env:
7373
GIT_AUTHOR_NAME: appland-release
7474
GIT_AUTHOR_EMAIL: [email protected]

0 commit comments

Comments
 (0)