ci: add auto_merge_enabled to PR activity types and concurrency settings (#2471)
* ci: add auto_merge_enabled to pr activity types * fix (auto-update.yml): remove 'dev' branch from trigger to run workflow on 'main' branch pushes only fix (js_autofix.yml): remove unnecessary push trigger for 'main' branch in workflow to run on specific file changes only * ci: Update concurrency settings in CI workflows
This commit is contained in:
parent
32e12cf72a
commit
26a71e1c36
8 changed files with 24 additions and 11 deletions
1
.github/workflows/auto-update.yml
vendored
1
.github/workflows/auto-update.yml
vendored
|
|
@ -3,7 +3,6 @@ name: Auto-update
|
|||
on:
|
||||
push:
|
||||
branches:
|
||||
- dev
|
||||
- main
|
||||
|
||||
jobs:
|
||||
|
|
|
|||
6
.github/workflows/js_autofix.yml
vendored
6
.github/workflows/js_autofix.yml
vendored
|
|
@ -2,11 +2,7 @@ name: autofix.ci
|
|||
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened, auto_merge_enabled, auto_merge_disabled]
|
||||
paths:
|
||||
- "src/frontend/**"
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
types: [opened, synchronize, reopened, auto_merge_enabled]
|
||||
paths:
|
||||
- "src/frontend/**"
|
||||
|
||||
|
|
|
|||
3
.github/workflows/lint-js.yml
vendored
3
.github/workflows/lint-js.yml
vendored
|
|
@ -5,6 +5,9 @@ on:
|
|||
paths:
|
||||
- "src/frontend/**"
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
NODE_VERSION: "21"
|
||||
|
|
|
|||
6
.github/workflows/lint-py.yml
vendored
6
.github/workflows/lint-py.yml
vendored
|
|
@ -2,10 +2,14 @@ name: Lint Python
|
|||
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened]
|
||||
types: [opened, synchronize, reopened, auto_merge_enabled]
|
||||
env:
|
||||
POETRY_VERSION: "1.8.2"
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
name: Run Mypy
|
||||
|
|
|
|||
2
.github/workflows/py_autofix.yml
vendored
2
.github/workflows/py_autofix.yml
vendored
|
|
@ -1,7 +1,7 @@
|
|||
name: autofix.ci
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened, auto_merge_enabled, auto_merge_disabled]
|
||||
types: [opened, synchronize, reopened, auto_merge_enabled]
|
||||
paths:
|
||||
- "poetry.lock"
|
||||
- "pyproject.toml"
|
||||
|
|
|
|||
6
.github/workflows/python_test.yml
vendored
6
.github/workflows/python_test.yml
vendored
|
|
@ -2,11 +2,15 @@ name: Python tests
|
|||
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened]
|
||||
types: [opened, synchronize, reopened, auto_merge_enabled]
|
||||
branches: [main]
|
||||
env:
|
||||
POETRY_VERSION: "1.8.2"
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Run Unit Tests
|
||||
|
|
|
|||
6
.github/workflows/style-check-py.yml
vendored
6
.github/workflows/style-check-py.yml
vendored
|
|
@ -2,7 +2,11 @@ name: Ruff Style Check
|
|||
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened]
|
||||
types: [opened, synchronize, reopened, auto_merge_enabled]
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
POETRY_VERSION: "1.8.2"
|
||||
|
|
|
|||
5
.github/workflows/typescript_test.yml
vendored
5
.github/workflows/typescript_test.yml
vendored
|
|
@ -8,8 +8,11 @@ on:
|
|||
required: false
|
||||
type: string
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened]
|
||||
types: [opened, synchronize, reopened, auto_merge_enabled]
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
POETRY_VERSION: "1.8.3"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue