"ssh:/git@developer.sourcefind.cn:2222/OpenDAS/vllm_cscc.git" did not exist on "4778b426605ec48b3eed90a94b29197835059090"
Unverified Commit 5ea6b8d7 authored by Pavithra Vijayakrishnan's avatar Pavithra Vijayakrishnan Committed by GitHub
Browse files

ci: Add concurrency check to auto cancel running actions. (#2438)


Signed-off-by: default avatarPavithra Vijayakrishnan <160681768+pvijayakrish@users.noreply.github.com>
parent 6441ed36
...@@ -7,12 +7,13 @@ on: ...@@ -7,12 +7,13 @@ on:
push: push:
branches: branches:
- main - main
- release/*.*.*
pull_request: pull_request:
# Do not cancel main branch runs # Cancel any previous check runs for the same pull request to avoid redundant workflows.
concurrency: concurrency:
group: ${{ github.workflow }}-dynamo-build-test-${{ github.ref_name || github.run_id }} group: ${{ github.event_name == 'pull_request' && format('{0}-{1}', github.workflow, github.event.pull_request.number) || format('{0}-{1}', github.workflow, github.run_id) }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs: jobs:
build-test: build-test:
......
...@@ -19,6 +19,7 @@ on: ...@@ -19,6 +19,7 @@ on:
workflows: ['NVIDIA Test Github Validation'] workflows: ['NVIDIA Test Github Validation']
types: types:
- completed - completed
jobs: jobs:
test-results: test-results:
name: Test Results name: Test Results
......
...@@ -19,6 +19,7 @@ on: ...@@ -19,6 +19,7 @@ on:
push: push:
branches: branches:
- main - main
- release/*.*.*
- "pull-request/[0-9]+" - "pull-request/[0-9]+"
# Skip docs only changes # Skip docs only changes
paths-ignore: paths-ignore:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment