Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Cancel stale jobs after new push (#17390)
Lukasz Ostrowskiaed7a5be459f
diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.ymlindex a62c2e8dfd..91431142f1 100644--- a/.github/workflows/pytest.yml+++ b/.github/workflows/pytest.yml@@ -27,10 +27,17 @@ env:DATABASE_URL: "postgres://saleor:saleor@postgres:5432/saleor"SECRET_KEY: ci-test+# Will group same workflow in the PR. Once new commit is pushed, old workflow will be cancelled+# This is saving resources and prevents unnecessary queues when fresh jobs wait for stale ones+concurrency:+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}+ cancel-in-progress: true+jobs:- build:+ units_and_linters:runs-on: ubuntu-latestcontainer: python:3.12+ name: Run units & lintersservices:postgres: