From 4c8005b2a49b8a809647f38221dd57107c3604d8 Mon Sep 17 00:00:00 2001 From: Norbert Renner Date: Thu, 23 Feb 2023 10:26:24 +0100 Subject: [PATCH] Ignore renovate branches for push events as skipping job with if statement still cancels concurrent --- .github/workflows/build.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4858c07..eafda4f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,6 +1,10 @@ name: build -on: [push, pull_request] +on: + push: + branches-ignore: + - 'renovate/**' + pull_request: concurrency: group: ${{ github.head_ref || github.ref_name }} @@ -9,7 +13,6 @@ concurrency: jobs: build: runs-on: ubuntu-latest - if: ${{ !(github.actor == 'renovate[bot]' && github.event_name == 'pull_request') }} steps: - uses: actions/checkout@v3