Ignore renovate branches for push events

as skipping job with if statement still cancels concurrent
This commit is contained in:
Norbert Renner 2023-02-23 10:26:24 +01:00 committed by GitHub
parent 539ac60d58
commit 4c8005b2a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,10 @@
name: build name: build
on: [push, pull_request] on:
push:
branches-ignore:
- 'renovate/**'
pull_request:
concurrency: concurrency:
group: ${{ github.head_ref || github.ref_name }} group: ${{ github.head_ref || github.ref_name }}
@ -9,7 +13,6 @@ concurrency:
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: ${{ !(github.actor == 'renovate[bot]' && github.event_name == 'pull_request') }}
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3