Skip to content

Commit

Permalink
Merge pull request #2835 from Flamefire/gha-cancel
Browse files Browse the repository at this point in the history
 Cancel GithubAction runs for outdated commits
  • Loading branch information
jfgrimm authored Nov 28, 2022
2 parents 939102b + 59bce86 commit 99a5b76
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
name: Static Analysis
on: [push, pull_request]

concurrency:
group: ${{format('{0}:{1}:{2}', github.repository, github.ref, github.workflow)}}
cancel-in-progress: true

jobs:
python-linting:
runs-on: ubuntu-20.04
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
name: easyblocks unit tests
on: [push, pull_request]

concurrency:
group: ${{format('{0}:{1}:{2}', github.repository, github.ref, github.workflow)}}
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-20.04
Expand Down

0 comments on commit 99a5b76

Please sign in to comment.