fix(state): fix 2.4.0 DB upgrade; add warning if impacted #3354
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Workflow patches for skipping Google Cloud CD deployments on PRs from external repositories. | |
name: Deploy Nodes to GCP | |
# Run on PRs from external repositories, let them pass, and then GitHub's Merge Queue will check them. | |
# GitHub doesn't support filtering workflows by source branch names, so we have to do it for each | |
# job. | |
on: | |
pull_request: | |
#! IMPORTANT | |
#! | |
#! The job names in `cd-deploy-nodes-gcp.yml`, `cd-deploy-nodes-gcp.patch.yml` and | |
#! `cd-deploy-nodes-gcp.patch-external.yml` must be kept in sync. | |
jobs: | |
# We don't patch the testnet job, because testnet isn't required to merge (it's too unstable) | |
get-disk-name: | |
name: Get disk name / Get Mainnet cached disk | |
if: ${{ (github.event_name != 'release' && !(github.event.pull_request.head.repo.fork)) && (github.event_name != 'workflow_dispatch' || inputs.need_cached_disk) }} | |
runs-on: ubuntu-latest | |
steps: | |
- run: 'echo "Skipping job on fork"' | |
build: | |
name: Build CD Docker / Build images | |
# Only run on PRs from external repositories, skipping ZF branches and tags. | |
runs-on: ubuntu-latest | |
if: ${{ github.event_name == 'pull_request' && !github.event.pull_request.head.repo.fork }} | |
steps: | |
- run: 'echo "Skipping job on fork"' |