workflows: don't test paths on master.

This avoids weirdness like the merged PR commits being pushed to scheduled opened PRs after merging.

It also avoids wasting resources.
This commit is contained in:
Mike McQuaid 2020-08-26 14:02:40 +01:00
parent 04382c8d06
commit c6a5ea5f11
4 changed files with 8 additions and 0 deletions

View File

@ -4,6 +4,8 @@ on:
paths: paths:
- .github/workflows/docker.yml - .github/workflows/docker.yml
- Dockerfile - Dockerfile
branches-ignore:
- master
release: release:
types: types:
- published - published

View File

@ -8,6 +8,8 @@ on:
- Library/Homebrew/extend/os/diagnostic.rb - Library/Homebrew/extend/os/diagnostic.rb
- Library/Homebrew/extend/os/mac/diagnostic.rb - Library/Homebrew/extend/os/mac/diagnostic.rb
- Library/Homebrew/os/mac/xcode.rb - Library/Homebrew/os/mac/xcode.rb
branches-ignore:
- master
env: env:
HOMEBREW_DEVELOPER: 1 HOMEBREW_DEVELOPER: 1
HOMEBREW_NO_AUTO_UPDATE: 1 HOMEBREW_NO_AUTO_UPDATE: 1

View File

@ -3,6 +3,8 @@ on:
push: push:
paths: paths:
- .github/workflows/spdx.yml - .github/workflows/spdx.yml
branches-ignore:
- master
schedule: schedule:
- cron: '0 */12 * * *' - cron: '0 */12 * * *'
jobs: jobs:

View File

@ -3,6 +3,8 @@ on:
push: push:
paths: paths:
- .github/workflows/tapioca.yml - .github/workflows/tapioca.yml
branches-ignore:
- master
schedule: schedule:
- cron: '0 */12 * * *' - cron: '0 */12 * * *'
jobs: jobs: