summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorSteven Silvester <steven.silvester@ieee.org>2022-02-12 12:56:18 -0600
committerGitHub <noreply@github.com>2022-02-12 12:56:18 -0600
commit11e9022ea9a61e18baf017254ff9312efe85a1ab (patch)
tree4362816df8ef37b8af543906c78e389a1fa4db4b /.github
parent64b9948f9e9ad2f41bf47802f9e1b40be0ff198e (diff)
downloadpython-setuptools-git-11e9022ea9a61e18baf017254ff9312efe85a1ab.tar.gz
Add concurrency limit to CI
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/main.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 35685723..6fca2f69 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -2,6 +2,10 @@ name: tests
on: [push, pull_request]
+concurrency:
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
+ cancel-in-progress: true
+
env:
# pypa/distutils#99
VIRTUALENV_NO_SETUPTOOLS: 1