Skip to content

Validate: 22ed92e476b5688e17ebbf360ad7a4becd344c75👀 validate nothing #2

Validate: 22ed92e476b5688e17ebbf360ad7a4becd344c75👀 validate nothing

Validate: 22ed92e476b5688e17ebbf360ad7a4becd344c75👀 validate nothing #2

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

View workflow run for this annotation

GitHub Actions / ⚙️ Validate

Invalid workflow file

The workflow is not valid. .github/workflows/dispatch_validate.yml (Line: 87, Col: 3): Error calling workflow 'WalletConnect/notify-server/.github/workflows/sub-validate-swift.yml@22ed92e476b5688e17ebbf360ad7a4becd344c75'. The nested job 'validate-swift' is requesting 'contents: write', but is only allowed 'contents: read'.
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