From 2da916aad905efc96a6e9b306f6dc3e75fecdf99 Mon Sep 17 00:00:00 2001 From: Holger Stitz Date: Tue, 20 Feb 2024 15:04:43 +0100 Subject: [PATCH] chore: disable branch check for publish workflow --- .github/workflows/publish-node-python.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/publish-node-python.yml b/.github/workflows/publish-node-python.yml index 0d3ba9e7..9d7010fb 100644 --- a/.github/workflows/publish-node-python.yml +++ b/.github/workflows/publish-node-python.yml @@ -38,11 +38,11 @@ jobs: contents: read runs-on: ubuntu-22.04 steps: - - name: check branch - if: ${{ github.ref_name != 'main' }} - run: | - echo "only the main branch can be published." - exit 1 + # - name: check branch + # if: ${{ github.ref_name != 'main' }} + # run: | + # echo "only the main branch can be published." + # exit 1 # checkout specific source repository - uses: actions/checkout@v3 with: @@ -70,11 +70,11 @@ jobs: publish-python: runs-on: ubuntu-22.04 steps: - - name: check branch - if: ${{ github.ref_name != 'main' }} - run: | - echo "only the main branch can be published." - exit 1 + # - name: check branch + # if: ${{ github.ref_name != 'main' }} + # run: | + # echo "only the main branch can be published." + # exit 1 # checkout specific source repository - uses: actions/checkout@v3 # checkout this workflow repository to get actions