diff --git a/.github/workflows/push-master.yml b/.github/workflows/push-master.yml index 509a459ea..f67939be8 100644 --- a/.github/workflows/push-master.yml +++ b/.github/workflows/push-master.yml @@ -6,11 +6,11 @@ on: jobs: master: + if: "! startsWith(github.event.head_commit.message, '[CI Skip]')" strategy: matrix: step: ['build:release'] name: ${{ matrix.step }} - if: "! startsWith(github.event.head_commit.message, '[CI Skip]') && github.repository == 'polkadot-js/phishing'" runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -27,11 +27,11 @@ jobs: # publish to ipfs when a release is detected ipfs: + if: "startsWith(github.event.head_commit.message, '[CI Skip] release/stable')" strategy: matrix: step: ['build:release:ipfs'] name: ${{ matrix.step }} - if: "startsWith(github.event.head_commit.message, '[CI Skip] release/stable') && github.repository == 'polkadot-js/phishing'" runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -44,10 +44,3 @@ jobs: yarn install --immutable | grep -v 'YN0013' ./scripts/ipfsPrep.sh yarn ${{ matrix.step }} - - dummy: - runs-on: ubuntu-latest - steps: - - name: dummy - run: | - echo "Dummy skip step"