Skip to content

Commit ecc2122

Browse files
authored
[CI] Cancel old workflow runs (#1161)
* CI: Cancel old workflow runs https://docs.github.com/en/actions/using-jobs/using-concurrency * Update CHANGELOG.md
1 parent dc9fffd commit ecc2122

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

.github/workflows/code-checks.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ name: Code style checks
22

33
on: [push, pull_request]
44

5+
concurrency:
6+
group: ${{ github.workflow }}-${{ github.ref }}
7+
cancel-in-progress: true
8+
59
jobs:
610
linting:
711
runs-on: ubuntu-latest

.github/workflows/tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ name: pyjanitor tests
22

33
on: [pull_request]
44

5+
concurrency:
6+
group: ${{ github.workflow }}-${{ github.ref }}
7+
cancel-in-progress: true
8+
59
jobs:
610
run-tests:
711
strategy:

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
- [DOC] Add local documentation preview via github action artifact. PR #1149 @Zeroto521
2121
- [ENH] Enable `encode_categorical` handle 2 (or more ) dimensions array. PR #1153 @Zeroto521
2222
- [ENH] Faster computation for a single non-equi join, with a numba engine. Issue #1102 @samukweku
23+
- [INF] Cancel old workflow runs via Github Action `concurrency`. PR #1161 @Zeroto521
2324

2425
## [v0.23.1] - 2022-05-03
2526

0 commit comments

Comments
 (0)