diff --git a/.github/workflows/verify-upgrade.yml b/.github/workflows/verify-upgrade.yml index a06ca4ab..4796ec24 100644 --- a/.github/workflows/verify-upgrade.yml +++ b/.github/workflows/verify-upgrade.yml @@ -1,13 +1,19 @@ name: Verify Deployment on: - pull_request: - types: [opened, synchronize, reopened] + push: branches: - main - paths: + pull_request: + release: + types: [published] + paths: - 'packages/solidity-contracts/deployments/**' +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: verify: if: startsWith(github.head_ref, 'deploy/')