Skip to content

Commit

Permalink
cancel in progress builds with new push
Browse files Browse the repository at this point in the history
  • Loading branch information
mcflugen committed Aug 9, 2024
1 parent 895481f commit 4c1947a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: Documentation

on: [push, pull_request]

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

jobs:
build:
name: Build documentation
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test-notebooks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: Notebooks

on: [push, pull_request]

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

jobs:
build-and-test:
name: Check notebooks
Expand Down
12 changes: 3 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,9 @@ name: Test

on: [push, pull_request]

# on:
# push:
# paths:
# - "landlab/**"
# - "tests/**"
# pull_request:
# paths:
# - "landlab/**"
# - "tests/**"
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true

jobs:
build-and-test:
Expand Down

0 comments on commit 4c1947a

Please sign in to comment.