Skip to content
Snippets Groups Projects
Unverified Commit 7320603a authored by David Bauer's avatar David Bauer Committed by GitHub
Browse files

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

actions: run tasks based on set of modified paths
parents 6e4989fa bab05c85
No related branches found
No related tags found
No related merge requests found
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
......
...@@ -9,8 +9,24 @@ on: ...@@ -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:
......
---
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
......
...@@ -13,8 +13,24 @@ on: ...@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment