Skip to content

Commit

Permalink
[ci] now enable cancel jobs in progress
Browse files Browse the repository at this point in the history
  • Loading branch information
tangxifan committed Jun 10, 2024
1 parent 87a07fb commit c05cc39
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
schedule:
- cron: "0 0 * * 0 " # weekly

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

# Environment variables
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/cell_lib_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
schedule:
- cron: "0 0 * * 0 " # weekly

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

# Multiple job to tests
jobs:
# Test the RTL compilation compatibility
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ env:
DOCKER_REPO: ${{ secrets.DOCKER_REPO }}
REPO_OWNER: ${{ github.repository_owner }}

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

jobs:
change_detect:
name: "Detect code changes"
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/format.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
schedule:
- cron: "0 0 * * 0 " # weekly

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

# Multiple job to tests
jobs:
change_detect:
Expand Down

0 comments on commit c05cc39

Please sign in to comment.