From 9b285e155c1ee29acdd25214c42698965290f9bd Mon Sep 17 00:00:00 2001 From: Bohdan Khorolets Date: Thu, 23 Nov 2023 09:51:32 +0200 Subject: [PATCH] chore: Cleanup workflow (drop 0.7.x branch from main workflow, it's handled separately) --- .github/workflows/ci.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cf7a1f8..1fb7897 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,11 +4,9 @@ on: push: branches: - main - - 0.7.x # we're going to maintain 0.7.x version until the adoption of 0.8.x will be completed pull_request: branches: - main - - 0.7.x # we're going to maintain 0.7.x version until the adoption of 0.8.x will be completed env: CARGO_TERM_COLOR: always @@ -70,7 +68,7 @@ jobs: name: release-plz runs-on: ubuntu-latest needs: [check, rustclippy, rustfmt, test] - if: ${{ github.event_name != 'pull_request' }} # Specify the branch condition + if: github.ref == 'refs/heads/main' # Specify the branch condition steps: - name: Checkout repository uses: actions/checkout@v3