diff --git a/.github/workflows/staging-undeploy-pr.yml b/.github/workflows/staging-undeploy-pr.yml index e71e363f1f..35a662d9fd 100644 --- a/.github/workflows/staging-undeploy-pr.yml +++ b/.github/workflows/staging-undeploy-pr.yml @@ -42,6 +42,7 @@ jobs: echo 'Cancelling other deployment runs (if any)...' undeploy: + needs: cancel-jobs-before-undeploy if: ${{ github.repository == 'github/docs-internal' || github.repository == 'github/docs' }} runs-on: ubuntu-latest timeout-minutes: 5