Validate: 22ed92e476b5688e17ebbf360ad7a4becd344c75👀 validate nothing #2
This file contains 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
name: ⚙️ Validate | ||
run-name: "Validate: ${{ github.sha }}${{ (!inputs.infra && !inputs.app) && '👀 validate nothing' || ''}}${{ inputs.infra && ' ✓ infra' || '' }}${{ inputs.app && ' ✓ app' || '' }}" | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
check-infra: | ||
description: "Validate Infra" | ||
default: true | ||
required: true | ||
type: boolean | ||
check-app: | ||
description: "Validate App" | ||
default: true | ||
required: true | ||
type: boolean | ||
check-staging-rust: | ||
description: "Validate Staging Rust" | ||
default: false | ||
required: true | ||
type: boolean | ||
check-prod-rust: | ||
description: "Validate Prod Rust" | ||
default: false | ||
required: true | ||
type: boolean | ||
check-staging-swift: | ||
description: "Validate Staging Swift" | ||
default: false | ||
required: true | ||
type: boolean | ||
check-prod-swift: | ||
description: "Validate Prod Swift" | ||
default: false | ||
required: true | ||
type: boolean | ||
permissions: | ||
contents: read | ||
checks: write | ||
id-token: write | ||
issues: read | ||
pull-requests: write | ||
jobs: | ||
ci: | ||
name: CI | ||
secrets: inherit | ||
uses: ./.github/workflows/sub-ci.yml | ||
with: | ||
check-infra: ${{ inputs.check-infra }} | ||
check-app: ${{ inputs.check-app }} | ||
validate-staging-health: | ||
name: Validate - Staging - Health | ||
uses: ./.github/workflows/sub-validate-health.yml | ||
secrets: inherit | ||
with: | ||
stage: staging | ||
stage-url: https://staging.${{ vars.SUBDOMAIN_NAME }}.walletconnect.com/health | ||
validate-prod-health: | ||
name: Validate - Prod - Health | ||
uses: ./.github/workflows/sub-validate-health.yml | ||
secrets: inherit | ||
with: | ||
stage: prod | ||
stage-url: https://${{ vars.SUBDOMAIN_NAME }}.walletconnect.com/health | ||
validate-staging-rust: | ||
name: Validate - Staging - Rust | ||
if: ${{ inputs.check-staging-rust }} | ||
uses: ./.github/workflows/sub-validate-rust.yml | ||
secrets: inherit | ||
with: | ||
stage: staging | ||
stage-url: https://staging.${{ vars.SUBDOMAIN_NAME }}.walletconnect.com/health | ||
validate-prod-rust: | ||
name: Validate - Prod - Rust | ||
if: ${{ inputs.check-prod-rust }} | ||
uses: ./.github/workflows/sub-validate-rust.yml | ||
secrets: inherit | ||
with: | ||
stage: prod | ||
stage-url: https://${{ vars.SUBDOMAIN_NAME }}.walletconnect.com/health | ||
validate-staging-swift: | ||
Check failure on line 87 in .github/workflows/dispatch_validate.yml GitHub Actions / ⚙️ ValidateInvalid workflow file
|
||
name: Validate - Staging - Swift | ||
if: ${{ inputs.check-staging-swift }} | ||
uses: ./.github/workflows/sub-validate-swift.yml | ||
secrets: inherit | ||
with: | ||
stage: staging | ||
stage-url: https://staging.${{ vars.SUBDOMAIN_NAME }}.walletconnect.com/health | ||
validate-prod-swift: | ||
name: Validate - Prod - Swift | ||
if: ${{ inputs.check-prod-swift }} | ||
uses: ./.github/workflows/sub-validate-swift.yml | ||
secrets: inherit | ||
with: | ||
stage: prod | ||
stage-url: https://${{ vars.SUBDOMAIN_NAME }}.walletconnect.com/health |