Ignore renovate branches for push events
as skipping job with if statement still cancels concurrent
This commit is contained in:
parent
539ac60d58
commit
4c8005b2a4
1 changed files with 5 additions and 2 deletions
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue