mirror of
https://github.com/browser-use/browser-use
synced 2026-05-06 17:52:15 +02:00
cancel tests on new commit (#3028)
Auto-generated PR for: cancel tests on new commit
<!-- This is an auto-generated description by cubic. -->
---
## Summary by cubic
Cancel in-progress GitHub Actions runs when a new commit is pushed to
the same branch or PR. This cuts wasted CI minutes and speeds up
feedback.
- **Refactors**
- Added concurrency with cancel-in-progress: true to workflows: test,
lint, package, publish, docker, cloud_evals.
- Used group: ${{ github.workflow }}-${{
github.event.pull_request.number || github.ref }} to scope per workflow
and branch/PR.
<!-- End of auto-generated description by cubic. -->
This commit is contained in:
5
.github/workflows/cloud_evals.yml
vendored
5
.github/workflows/cloud_evals.yml
vendored
@@ -1,5 +1,10 @@
|
||||
name: cloud_evals
|
||||
|
||||
# Cancel in-progress runs when a new commit is pushed to the same branch/PR
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
|
||||
5
.github/workflows/docker.yml
vendored
5
.github/workflows/docker.yml
vendored
@@ -1,5 +1,10 @@
|
||||
name: docker
|
||||
|
||||
# Cancel in-progress runs when a new commit is pushed to the same branch/PR
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
on:
|
||||
push:
|
||||
release:
|
||||
|
||||
6
.github/workflows/lint.yml
vendored
6
.github/workflows/lint.yml
vendored
@@ -1,4 +1,10 @@
|
||||
name: lint
|
||||
|
||||
# Cancel in-progress runs when a new commit is pushed to the same branch/PR
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
|
||||
6
.github/workflows/package.yaml
vendored
6
.github/workflows/package.yaml
vendored
@@ -1,4 +1,10 @@
|
||||
name: package
|
||||
|
||||
# Cancel in-progress runs when a new commit is pushed to the same branch/PR
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
|
||||
5
.github/workflows/publish.yml
vendored
5
.github/workflows/publish.yml
vendored
@@ -8,6 +8,11 @@
|
||||
|
||||
name: publish
|
||||
|
||||
# Cancel in-progress runs when a new commit is pushed to the same branch/PR
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [published] # publish full release to PyPI when a release is created on Github
|
||||
|
||||
5
.github/workflows/test.yaml
vendored
5
.github/workflows/test.yaml
vendored
@@ -7,6 +7,11 @@ permissions:
|
||||
statuses: write # Allow writing statuses on PRs
|
||||
discussions: write
|
||||
|
||||
# Cancel in-progress runs when a new commit is pushed to the same branch/PR
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
|
||||
Reference in New Issue
Block a user