diff --git a/.github/workflows/canary.yml b/.github/workflows/canary.yml index ec1614ddf..d8a59cdbc 100644 --- a/.github/workflows/canary.yml +++ b/.github/workflows/canary.yml @@ -1,16 +1,12 @@ name: Deploy Canary -on: - push: - branches: - - main - - canary -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true +on: + pull_request: + types: [closed] jobs: deploy_canary: + if: github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'canary' name: build timeout-minutes: 30 runs-on: ubuntu-latest