Skip to content

Commit

Permalink
ci: Trigger paths for most workflows (#2063)
Browse files Browse the repository at this point in the history
  • Loading branch information
qdm12 authored Dec 9, 2021
1 parent 1e74231 commit f091a75
Show file tree
Hide file tree
Showing 10 changed files with 129 additions and 8 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,22 @@ on:
push:
branches:
- development
paths:
- .github/workflows/build.yml
- "**/*.go"
- "chain/**"
- "cmd/**"
- "dot/**"
- "internal/**"
- "lib/**"
- "pkg/**"
- "tests/**"
- .dockerignore
- .codecov.yml
- Dockerfile
- go.mod
- go.sum
- Makefile

jobs:
builds:
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
on: [pull_request]
on:
pull_request:
paths:
- .github/workflows/checks.yml
- .github/PULL_REQUEST/pull_request.go
- .golangci.yml
- "**/*.go"
- go.mod
- go.sum

name: checks
env:
GO111MODULE: on
Expand Down
16 changes: 15 additions & 1 deletion .github/workflows/code-cov.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
on: [pull_request]
on:
pull_request:
paths:
- .github/workflows/code-cov.yml
- "**/*.go"
- "chain/**"
- "cmd/**"
- "dot/**"
- "internal/**"
- "lib/**"
- "pkg/**"
- "tests/**"
- .codecov.yml
- go.mod
- go.sum
name: code-cov
env:
GO111MODULE: on
Expand Down
15 changes: 14 additions & 1 deletion .github/workflows/docker-grandpa.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
on: [pull_request]
on:
pull_request:
paths:
- .github/workflows/docker-grandpa.yml
- "**/*.go"
- "chain/**"
- "cmd/**"
- "dot/**"
- "internal/**"
- "lib/**"
- "pkg/**"
- "tests/stress/**"
- go.mod
- go.sum
name: docker-grandpa
env:
GO111MODULE: on
Expand Down
15 changes: 14 additions & 1 deletion .github/workflows/docker-js.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
on: [pull_request]
on:
pull_request:
paths:
- .github/workflows/docker-js.yml
- "**/*.go"
- "chain/**"
- "cmd/**"
- "dot/**"
- "internal/**"
- "lib/**"
- "pkg/**"
- "tests/polkadotjs_test/**"
- go.mod
- go.sum
name: docker-js
env:
GO111MODULE: on
Expand Down
15 changes: 14 additions & 1 deletion .github/workflows/docker-rpc.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
on: [pull_request]
on:
pull_request:
paths:
- .github/workflows/docker-rpc.yml
- "**/*.go"
- "chain/**"
- "cmd/**"
- "dot/**"
- "internal/**"
- "lib/**"
- "pkg/**"
- "tests/rpc/**"
- go.mod
- go.sum
name: docker-rpc
env:
GO111MODULE: on
Expand Down
15 changes: 14 additions & 1 deletion .github/workflows/docker-stable.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
on: [pull_request]
on:
pull_request:
paths:
- .github/workflows/docker-stable.yml
- "**/*.go"
- "chain/**"
- "cmd/**"
- "dot/**"
- "internal/**"
- "lib/**"
- "pkg/**"
- scripts/integration-test-all.sh
- go.mod
- go.sum
name: docker-stable
env:
GO111MODULE: on
Expand Down
15 changes: 14 additions & 1 deletion .github/workflows/docker-stress.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
on: [pull_request]
on:
pull_request:
paths:
- .github/workflows/docker-stress.yml
- "**/*.go"
- "chain/**"
- "cmd/**"
- "dot/**"
- "internal/**"
- "lib/**"
- "pkg/**"
- "tests/stress/**"
- go.mod
- go.sum
name: docker-stress
env:
GO111MODULE: on
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ on:
push:
branches:
- development
paths:
- .github/workflows/docs.yml
- "docs/**"

jobs:
build:
Expand Down
16 changes: 15 additions & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
on: [pull_request]
on:
pull_request:
paths:
- .github/workflows/unit-tests.yml
- "**/*.go"
- "chain/**"
- "cmd/**"
- "dot/**"
- "internal/**"
- "lib/**"
- "pkg/**"
- "tests/**"
- go.mod
- go.sum
- Makefile
name: unit-tests
env:
GO111MODULE: on
Expand Down

0 comments on commit f091a75

Please sign in to comment.