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>`
|
||||
build:
|
||||
name: Build CD Docker
|
||||
uses: ./.github/workflows/build-docker-image.yml
|
||||
with:
|
||||
dockerfile_path: ./docker/Dockerfile
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ jobs:
|
|||
- run: 'echo "No build required"'
|
||||
|
||||
build:
|
||||
name: Build / Build images
|
||||
name: Build CI Docker / Build images
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: 'echo "No build required"'
|
||||
|
|
|
|||
|
|
@ -165,7 +165,7 @@ jobs:
|
|||
fi
|
||||
|
||||
build:
|
||||
name: Build
|
||||
name: Build CI Docker
|
||||
uses: ./.github/workflows/build-docker-image.yml
|
||||
with:
|
||||
dockerfile_path: ./docker/Dockerfile
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ on:
|
|||
- '.cargo/config.toml'
|
||||
- '**/clippy.toml'
|
||||
# workflow definitions
|
||||
- '.github/workflows/ci.yml'
|
||||
- '.github/workflows/continous-integration-os.yml'
|
||||
pull_request:
|
||||
paths:
|
||||
# code and tests
|
||||
|
|
|
|||
|
|
@ -2,8 +2,6 @@ name: Lint
|
|||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- 'main'
|
||||
|
||||
jobs:
|
||||
clippy:
|
||||
|
|
|
|||
|
|
@ -14,8 +14,6 @@ on:
|
|||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
branches:
|
||||
- 'main'
|
||||
|
||||
env:
|
||||
CARGO_INCREMENTAL: 0
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ jobs:
|
|||
#
|
||||
# The image will be named `zebrad:<semver>`
|
||||
build:
|
||||
name: Build Release Docker
|
||||
uses: ./.github/workflows/build-docker-image.yml
|
||||
with:
|
||||
dockerfile_path: ./docker/Dockerfile
|
||||
|
|
|
|||
|
|
@ -4,8 +4,6 @@ name: zcash-lightwalletd
|
|||
# run a fake CI job to satisfy the branch protection rules.
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
paths-ignore:
|
||||
- 'zebra-rpc/**'
|
||||
- 'zebrad/tests/acceptance.rs'
|
||||
|
|
@ -16,7 +14,7 @@ on:
|
|||
|
||||
jobs:
|
||||
build:
|
||||
name: Build images
|
||||
name: Build lightwalletd Docker
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: 'echo "No build required"'
|
||||
|
|
|
|||
|
|
@ -31,8 +31,6 @@ on:
|
|||
|
||||
# Update the lightwalletd image when each related PR changes
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
# rebuild lightwalletd whenever the related Zebra code changes
|
||||
# (this code isn't actually compiled in this docker image)
|
||||
|
|
@ -50,7 +48,7 @@ env:
|
|||
|
||||
jobs:
|
||||
build:
|
||||
name: Build images
|
||||
name: Build lightwalletd Docker
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: 'read'
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@ on:
|
|||
|
||||
jobs:
|
||||
build:
|
||||
name: Build Zcash Params Docker
|
||||
uses: ./.github/workflows/build-docker-image.yml
|
||||
with:
|
||||
dockerfile_path: ./docker/zcash-params/Dockerfile
|
||||
|
|
|
|||
Loading…
Reference in New Issue