Skip to content

Commit

Permalink
ci: run on changes to workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianFranzen committed Jul 1, 2024
1 parent b03f2d7 commit b46bf87
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 10 deletions.
1 change: 1 addition & 0 deletions .github/workflows/merge-docker-chronicle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Build Docker chronicle image
on:
push:
paths:
- '.github/workflows/merge-docker-chronicle.yaml'
- 'chronicle/**'
- 'config/subxt/**'
- 'lib/**'
Expand Down
9 changes: 1 addition & 8 deletions .github/workflows/merge-docker-tester.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,8 @@
##########################################################
#
# Workflow for building the tester image. It's a CLI tool
# used in deployment scripts and apps. The tester CLI
# image includes the tester binary and the compiled
# contracts.
#
##########################################################
name: Build Docker tester image
on:
push:
paths:
- '.github/workflows/merge-docker-tester.yaml'
- 'analog-gmp/**'
- 'config/subxt/**'
- 'primitives/**'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: Generate docs
name: Deploy docs
on:
push:
paths:
- '.github/workflows/merge-pages-docs.yaml'
- 'chronicle/**'
- 'config/subxt/**'
- 'docs/**'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pr-build-chronicle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Compile chronicle
on:
pull_request:
paths:
- '.github/workflows/pr-build-chronicle.yaml'
- 'chronicle/**'
- 'config/subxt/**'
- 'lib/**'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pr-build-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Generate docs
on:
pull_request:
paths:
- '.github/workflows/pr-build-docs.yaml'
- 'chronicle/**'
- 'config/subxt/**'
- 'docs/**'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pr-build-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Compile node
on:
pull_request:
paths:
- '.github/workflows/pr-build-node.yaml'
- 'node/**'
- 'primitives/**'
- 'Cargo.toml'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pr-build-runtime.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Compile runtimes
on:
pull_request:
paths:
- '.github/workflows/pr-build-runtime.yaml'
- 'pallets/**'
- 'primitives/**'
- 'runtime/**'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pr-build-tester.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Compile tester
on:
pull_request:
paths:
- '.github/workflows/pr-build-tester.yaml'
- 'analog-gmp/**'
- 'config/subxt/**'
- 'primitives/**'
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/pr-test-cargo.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: Check cargo tests
on:
pull_request:
paths-ignore:
paths:
- '.github/workflows/pr-test-cargo.yaml'
- 'chronicle/**'
- 'config/subxt/**'
- 'docs/**'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pr-test-rustfmt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Check code formatting
on:
pull_request:
paths:
- '.github/workflows/pr-test-rustfmt.yaml'
- 'chronicle/**'
- 'docs/**'
- 'node/**'
Expand Down

0 comments on commit b46bf87

Please sign in to comment.