QA: don't run build tests on each commit (#22430)

This applies the same rules on push to develop
that we use for PRs
This commit is contained in:
Massimiliano Culpo 2021-03-20 15:17:47 +01:00 committed by GitHub
parent 03e10b3cde
commit 06cd29ad58
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,6 +5,18 @@ on:
branches: branches:
- develop - develop
- releases/** - releases/**
paths-ignore:
# Don't run if we only modified packages in the built-in repository
- 'var/spack/repos/builtin/**'
- '!var/spack/repos/builtin/packages/lz4/**'
- '!var/spack/repos/builtin/packages/mpich/**'
- '!var/spack/repos/builtin/packages/tut/**'
- '!var/spack/repos/builtin/packages/py-setuptools/**'
- '!var/spack/repos/builtin/packages/openjpeg/**'
- '!var/spack/repos/builtin/packages/r-rcpp/**'
- '!var/spack/repos/builtin/packages/ruby-rake/**'
# Don't run if we only modified documentation
- 'lib/spack/docs/**'
pull_request: pull_request:
branches: branches:
- develop - develop