Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[infra/github] Cancel running workflow on PR update #14576

Merged
merged 1 commit into from
Jan 22, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/build-dev-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ on:
- '.github/workflows/build-dev-docker.yml'
- 'infra/docker/**'

# Cancel previous running jobs when pull request is updated
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
# Build on docker CLI for PR test without login
build-pr-test:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/generate-rootfs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ on:
- cron: '0 15 1 * *'
workflow_dispatch:

# Cancel previous running jobs when pull request is updated
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
gen-rootfs:
if: github.repository_owner == 'Samsung'
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/run-onecc-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ defaults:
run:
shell: bash

# Cancel previous running jobs when pull request is updated
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
onecc-test:
if: github.repository_owner == 'Samsung'
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/run-onert-android-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ defaults:
run:
shell: bash

# Cancel previous running jobs when pull request is updated
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-22.04
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/run-onert-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ defaults:
run:
shell: bash

# Cancel previous running jobs when pull request is updated
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
build:
if: github.repository_owner == 'Samsung'
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/run-onert-gbs-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ defaults:
run:
shell: bash

# Cancel previous running jobs when pull request is updated
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
build:
strategy:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/run-onert-micro-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ defaults:
run:
shell: bash

# Cancel previous running jobs when pull request is updated
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
run-onert-micro-unit-tests:
name: Run onert-micro Unit tests
Expand Down
Loading