Unverified Commit 8023cb3f authored by Sebastian "Sebbie" Silbermann's avatar Sebastian "Sebbie" Silbermann Committed by GitHub

[ci] Cancel in-progress build_and_deploy for PRs (#87191)

parent 4b603cfa
......@@ -11,6 +11,12 @@ on:
types: [opened, synchronize]
workflow_dispatch:
concurrency:
# Limit concurrent runs to 1 per PR,
# but allow concurrent runs on push if they potentially use different source code
group: ${{ github.event_name == 'pull_request' && format('{0}-pr-{1}', github.workflow, github.ref_name) || format('{0}-sha-{1}', github.workflow, github.sha) }}
cancel-in-progress: true
env:
NAPI_CLI_VERSION: 2.18.4
TURBO_VERSION: 2.5.5
......
......@@ -13,5 +13,5 @@ jobs:
steps:
- uses: styfle/cancel-workflow-action@0.12.1
with:
workflow_id: 444987, 57419851
workflow_id: 57419851
access_token: ${{ github.token }}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment