Skip to content
This repository was archived by the owner on Jan 20, 2023. It is now read-only.

Commit

Permalink
cancel redundant GH Actions builds (#1007)
Browse files Browse the repository at this point in the history
  • Loading branch information
epwalsh authored May 26, 2021
1 parent 7492d7d commit 06c0b8c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/api_ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: API CI

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
push:
branches:
Expand Down Expand Up @@ -46,19 +50,19 @@ jobs:
- name: Format
working-directory: api
if: always()
if: '! cancelled()'
run: |
make format
- name: Lint
working-directory: api
if: always()
if: '! cancelled()'
run: |
make lint
- name: Type check
working-directory: api
if: always()
if: '! cancelled()'
run: |
make typecheck
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ui_ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
name: UI CI
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches:
Expand Down

0 comments on commit 06c0b8c

Please sign in to comment.