Skip to content

Commit

Permalink
gha: move cancelaltion into other workflows (iterative#6771)
Browse files Browse the repository at this point in the history
  • Loading branch information
pared authored Oct 8, 2021
1 parent c24ae2b commit 8580e66
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/benchmarks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,6 @@ name: benchmarks
on: [pull_request, workflow_dispatch]

jobs:
cancel_previous:
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
bench:
name: run benchmarks
runs-on: ${{ matrix.os }}
Expand All @@ -17,6 +10,10 @@ jobs:
matrix:
os: [ubuntu-18.04]
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- uses: actions/setup-python@v2
with:
python-version: 3.7
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,14 @@ env:
SHELL: /bin/bash

jobs:
cancel_previous:
lint:
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
lint:
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Set up Python 3.8
uses: actions/[email protected]
Expand Down

0 comments on commit 8580e66

Please sign in to comment.