Enabled CI on Renovate branches

no issue

- enables CI on Renovate branches
- puts in a check to avoid CI for pull requests from Renovate to stop
  double builds
This commit is contained in:
Daniel Lockyer 2020-03-25 17:18:18 +00:00
parent d9dfdd775e
commit 2fe0b79f3a
1 changed files with 2 additions and 0 deletions

View File

@ -5,9 +5,11 @@ on:
branches:
- master
- 2.x
- 'renovate/*'
jobs:
test:
runs-on: ubuntu-latest
if: github.event_name == 'push' || (github.event_name == 'pull_request' && !startsWith(github.head_ref, 'renovate/'))
strategy:
matrix:
node: [ 10, 12 ]