diff --git a/.github/workflows/update_valid_target.yml b/.github/workflows/update_valid_target.yml index ba1a6a7428..e68d91ee15 100644 --- a/.github/workflows/update_valid_target.yml +++ b/.github/workflows/update_valid_target.yml @@ -2,13 +2,12 @@ name: Update ckb node assume valid target on: create: - branches: - - "rc/**" jobs: ready-for-release: name: Update ckb node assume valid target runs-on: ubuntu-latest + if: ${{ startsWith(github.ref_name, 'rc/') }} steps: - name: Create Branch uses: peterjgrainger/action-create-branch@v2.2.0