[ci] now enable cancel jobs in progress

This commit is contained in:
tangxifan 2024-06-10 12:19:58 -07:00
parent 87a07fb111
commit c05cc39899
4 changed files with 16 additions and 0 deletions

View File

@ -7,6 +7,10 @@ on:
schedule: schedule:
- cron: "0 0 * * 0 " # weekly - cron: "0 0 * * 0 " # weekly
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
# Environment variables # Environment variables
env: env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)

View File

@ -7,6 +7,10 @@ on:
schedule: schedule:
- cron: "0 0 * * 0 " # weekly - cron: "0 0 * * 0 " # weekly
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
# Multiple job to tests # Multiple job to tests
jobs: jobs:
# Test the RTL compilation compatibility # Test the RTL compilation compatibility

View File

@ -7,6 +7,10 @@ env:
DOCKER_REPO: ${{ secrets.DOCKER_REPO }} DOCKER_REPO: ${{ secrets.DOCKER_REPO }}
REPO_OWNER: ${{ github.repository_owner }} REPO_OWNER: ${{ github.repository_owner }}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs: jobs:
change_detect: change_detect:
name: "Detect code changes" name: "Detect code changes"

View File

@ -7,6 +7,10 @@ on:
schedule: schedule:
- cron: "0 0 * * 0 " # weekly - cron: "0 0 * * 0 " # weekly
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
# Multiple job to tests # Multiple job to tests
jobs: jobs:
change_detect: change_detect: