Skip to content

fix(release): align trusted qualification CLI contract #2844

fix(release): align trusted qualification CLI contract

fix(release): align trusted qualification CLI contract #2844

Workflow file for this run

name: Backend Checks
on:
push:
branches: main
pull_request:
branches: main
concurrency:
group: backend-checks-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
changes:
name: Detect Changes
runs-on: ubuntu-latest
outputs:
diff_base: ${{ steps.changes.outputs.diff_base }}
has_backend_runtime_env: ${{ steps.changes.outputs.has_backend_runtime_env }}
steps:
- name: Checkout code
uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Detect changed paths
id: changes
uses: ./.github/actions/detect-changes
static-contracts:
name: Static Contracts
runs-on: ubuntu-latest
needs: changes
if: needs.changes.outputs.has_backend_runtime_env == 'true'
steps:
- name: Checkout code
uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Check backend runtime env manifest
if: needs.changes.outputs.has_backend_runtime_env == 'true'
run: |
python3 -m pip install -q pyyaml pytest
CLOUD_RUN_VPC_NETWORK=offline-check-network \
CLOUD_RUN_VPC_SUBNET=offline-check-subnet \
backend/scripts/pre-deploy-check.sh