aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/infra_tests.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/infra_tests.yml')
-rw-r--r--.github/workflows/infra_tests.yml7
1 files changed, 5 insertions, 2 deletions
diff --git a/.github/workflows/infra_tests.yml b/.github/workflows/infra_tests.yml
index 8b3ed96bc..5273adc45 100644
--- a/.github/workflows/infra_tests.yml
+++ b/.github/workflows/infra_tests.yml
@@ -9,6 +9,11 @@ jobs:
runs-on: ubuntu-latest
steps:
+ - name: Cancel previous
+ uses: styfle/cancel-workflow-action@0.8.0
+ with:
+ access_token: ${{ github.token }}
+
- uses: actions/checkout@v2
- run: | # Needed for git diff to work.
git fetch origin master --depth 1
@@ -33,5 +38,3 @@ jobs:
- name: Run infra tests
run: sudo env "PATH=$PATH" INTEGRATION_TESTS=1 python infra/presubmit.py infra-tests -p
-
-