Merge pull request #2169 from mweinelt/ci-reduce-builds

actions: run tasks based on set of modified paths
This commit is contained in:
David Bauer 2021-01-02 22:53:59 +01:00 committed by GitHub
commit 7320603a1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 47 additions and 0 deletions

View File

@ -1,8 +1,14 @@
name: Build Documentation name: Build Documentation
on: on:
push: push:
paths:
- 'docs/**'
- '.github/workflows/build-docs.yml'
pull_request: pull_request:
types: [opened, synchronize, reopened] types: [opened, synchronize, reopened]
paths:
- 'docs**/'
- '.github/workflows/build-docs.yml'
jobs: jobs:
build-documentation: build-documentation:
name: docs name: docs

View File

@ -9,8 +9,24 @@ on:
- master - master
- next - next
- v20* - v20*
paths:
- "modules"
- "Makefile"
- "scripts/**"
- "package/**"
- "patches/**"
- "targets/**"
- ".github/workflows/build-gluon.yml"
pull_request: pull_request:
types: [opened, synchronize, reopened] types: [opened, synchronize, reopened]
paths:
- "modules"
- "Makefile"
- "scripts/**"
- "package/**"
- "patches/**"
- "targets/**"
- ".github/workflows/build-gluon.yml"
jobs: jobs:
build_firmware: build_firmware:
strategy: strategy:

View File

@ -1,8 +1,17 @@
---
name: Check patches name: Check patches
on: on:
push: push:
paths:
- 'modules'
- 'patches/**'
- '.github/workflows/check-patches.yml'
pull_request: pull_request:
types: [opened, synchronize, reopened] types: [opened, synchronize, reopened]
paths:
- 'modules'
- 'patches/**'
- '.github/workflows/check-patches.yml'
jobs: jobs:
check-patches: check-patches:
name: Check patches name: Check patches

View File

@ -13,8 +13,24 @@ on:
- master - master
- next - next
- v20* - v20*
paths:
- "modules"
- "Makefile"
- "scripts/**"
- "package/**"
- "patches/**"
- "targets/**"
- ".github/workflows/build-gluon.yml"
pull_request: pull_request:
types: [opened, synchronize, reopened] types: [opened, synchronize, reopened]
paths:
- "modules"
- "Makefile"
- "scripts/**"
- "package/**"
- "patches/**"
- "targets/**"
- ".github/workflows/build-gluon.yml"
jobs: jobs:
build_firmware: build_firmware:
strategy: strategy: