Skip to content

Publish: ba14b96a9f3e67ce5f5ee3286431d7c4cc5f1f7c ❱❱ prod #2

Publish: ba14b96a9f3e67ce5f5ee3286431d7c4cc5f1f7c ❱❱ prod

Publish: ba14b96a9f3e67ce5f5ee3286431d7c4cc5f1f7c ❱❱ prod #2

name: ⚙️ Publish
run-name: "Publish: ${{ github.sha }}${{ inputs.deploy-to != 'none' && format(' ❱❱ {0}', inputs.deploy-to) || ''}}"
on:
workflow_dispatch:
inputs:
deploy-to:
description: "Deploy published image to"
type: choice
options:
- none
- staging
- prod
default: staging
required: true
concurrency: deploy
permissions:
contents: write
checks: write
id-token: write
packages: write
jobs:
ci:

Check failure on line 26 in .github/workflows/dispatch_publish.yml

View workflow run for this annotation

GitHub Actions / ⚙️ Publish

Invalid workflow file

The workflow is not valid. .github/workflows/dispatch_publish.yml (Line: 26, Col: 3): Error calling workflow 'WalletConnect/notify-server/.github/workflows/sub-ci.yml@ba14b96a9f3e67ce5f5ee3286431d7c4cc5f1f7c'. The workflow is requesting 'issues: read, pull-requests: write', but is only allowed 'issues: none, pull-requests: none'.
name: CI
secrets: inherit
uses: ./.github/workflows/sub-ci.yml
with:
check-infra: false
check-app: true
release:
name: Release
uses: WalletConnect/ci_workflows/.github/workflows/[email protected]
secrets: inherit
with:
infra-changed: false
app-changed: true
cd:
name: CD
needs: [ release ]
if: ${{ inputs.deploy-to == 'staging' || inputs.deploy-to == 'prod' }}
secrets: inherit
uses: ./.github/workflows/sub-cd.yml
with:
deploy-infra: false
deploy-app: true
deploy-prod: ${{ inputs.deploy-to == 'prod' }}
version: ${{ needs.release.outputs.version }}