fix(ci): Run required jobs on dependent PRs (#5550)
* Run CI jobs on dependent PRs * Change job names to be unique * Fix outdated workflow name Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
parent
75f83fc5b0
commit
26698bf2c4
|
|
@ -65,6 +65,7 @@ jobs:
|
||||||
#
|
#
|
||||||
# The image will be commonly named `zebrad:<short-hash | github-ref | semver>`
|
# The image will be commonly named `zebrad:<short-hash | github-ref | semver>`
|
||||||
build:
|
build:
|
||||||
|
name: Build CD Docker
|
||||||
uses: ./.github/workflows/build-docker-image.yml
|
uses: ./.github/workflows/build-docker-image.yml
|
||||||
with:
|
with:
|
||||||
dockerfile_path: ./docker/Dockerfile
|
dockerfile_path: ./docker/Dockerfile
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@ jobs:
|
||||||
- run: 'echo "No build required"'
|
- run: 'echo "No build required"'
|
||||||
|
|
||||||
build:
|
build:
|
||||||
name: Build / Build images
|
name: Build CI Docker / Build images
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- run: 'echo "No build required"'
|
- run: 'echo "No build required"'
|
||||||
|
|
|
||||||
|
|
@ -165,7 +165,7 @@ jobs:
|
||||||
fi
|
fi
|
||||||
|
|
||||||
build:
|
build:
|
||||||
name: Build
|
name: Build CI Docker
|
||||||
uses: ./.github/workflows/build-docker-image.yml
|
uses: ./.github/workflows/build-docker-image.yml
|
||||||
with:
|
with:
|
||||||
dockerfile_path: ./docker/Dockerfile
|
dockerfile_path: ./docker/Dockerfile
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ on:
|
||||||
- '.cargo/config.toml'
|
- '.cargo/config.toml'
|
||||||
- '**/clippy.toml'
|
- '**/clippy.toml'
|
||||||
# workflow definitions
|
# workflow definitions
|
||||||
- '.github/workflows/ci.yml'
|
- '.github/workflows/continous-integration-os.yml'
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
# code and tests
|
# code and tests
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,6 @@ name: Lint
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
|
||||||
- 'main'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
clippy:
|
clippy:
|
||||||
|
|
|
||||||
|
|
@ -14,8 +14,6 @@ on:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
|
||||||
- 'main'
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
CARGO_INCREMENTAL: 0
|
CARGO_INCREMENTAL: 0
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,7 @@ jobs:
|
||||||
#
|
#
|
||||||
# The image will be named `zebrad:<semver>`
|
# The image will be named `zebrad:<semver>`
|
||||||
build:
|
build:
|
||||||
|
name: Build Release Docker
|
||||||
uses: ./.github/workflows/build-docker-image.yml
|
uses: ./.github/workflows/build-docker-image.yml
|
||||||
with:
|
with:
|
||||||
dockerfile_path: ./docker/Dockerfile
|
dockerfile_path: ./docker/Dockerfile
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,6 @@ name: zcash-lightwalletd
|
||||||
# run a fake CI job to satisfy the branch protection rules.
|
# run a fake CI job to satisfy the branch protection rules.
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- 'zebra-rpc/**'
|
- 'zebra-rpc/**'
|
||||||
- 'zebrad/tests/acceptance.rs'
|
- 'zebrad/tests/acceptance.rs'
|
||||||
|
|
@ -16,7 +14,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build images
|
name: Build lightwalletd Docker
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- run: 'echo "No build required"'
|
- run: 'echo "No build required"'
|
||||||
|
|
|
||||||
|
|
@ -31,8 +31,6 @@ on:
|
||||||
|
|
||||||
# Update the lightwalletd image when each related PR changes
|
# Update the lightwalletd image when each related PR changes
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
paths:
|
paths:
|
||||||
# rebuild lightwalletd whenever the related Zebra code changes
|
# rebuild lightwalletd whenever the related Zebra code changes
|
||||||
# (this code isn't actually compiled in this docker image)
|
# (this code isn't actually compiled in this docker image)
|
||||||
|
|
@ -50,7 +48,7 @@ env:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build images
|
name: Build lightwalletd Docker
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
contents: 'read'
|
contents: 'read'
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
name: Build Zcash Params Docker
|
||||||
uses: ./.github/workflows/build-docker-image.yml
|
uses: ./.github/workflows/build-docker-image.yml
|
||||||
with:
|
with:
|
||||||
dockerfile_path: ./docker/zcash-params/Dockerfile
|
dockerfile_path: ./docker/zcash-params/Dockerfile
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue