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:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- dev
|
|
||||||
- main
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
|
||||||
6
.github/workflows/js_autofix.yml
vendored
6
.github/workflows/js_autofix.yml
vendored
|
|
@ -2,11 +2,7 @@ name: autofix.ci
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
types: [opened, synchronize, reopened, auto_merge_enabled, auto_merge_disabled]
|
types: [opened, synchronize, reopened, auto_merge_enabled]
|
||||||
paths:
|
|
||||||
- "src/frontend/**"
|
|
||||||
push:
|
|
||||||
branches: [ "main" ]
|
|
||||||
paths:
|
paths:
|
||||||
- "src/frontend/**"
|
- "src/frontend/**"
|
||||||
|
|
||||||
|
|
|
||||||
3
.github/workflows/lint-js.yml
vendored
3
.github/workflows/lint-js.yml
vendored
|
|
@ -5,6 +5,9 @@ on:
|
||||||
paths:
|
paths:
|
||||||
- "src/frontend/**"
|
- "src/frontend/**"
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
env:
|
env:
|
||||||
NODE_VERSION: "21"
|
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:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
types: [opened, synchronize, reopened]
|
types: [opened, synchronize, reopened, auto_merge_enabled]
|
||||||
env:
|
env:
|
||||||
POETRY_VERSION: "1.8.2"
|
POETRY_VERSION: "1.8.2"
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint:
|
lint:
|
||||||
name: Run Mypy
|
name: Run Mypy
|
||||||
|
|
|
||||||
2
.github/workflows/py_autofix.yml
vendored
2
.github/workflows/py_autofix.yml
vendored
|
|
@ -1,7 +1,7 @@
|
||||||
name: autofix.ci
|
name: autofix.ci
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
types: [opened, synchronize, reopened, auto_merge_enabled, auto_merge_disabled]
|
types: [opened, synchronize, reopened, auto_merge_enabled]
|
||||||
paths:
|
paths:
|
||||||
- "poetry.lock"
|
- "poetry.lock"
|
||||||
- "pyproject.toml"
|
- "pyproject.toml"
|
||||||
|
|
|
||||||
6
.github/workflows/python_test.yml
vendored
6
.github/workflows/python_test.yml
vendored
|
|
@ -2,11 +2,15 @@ name: Python tests
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
types: [opened, synchronize, reopened]
|
types: [opened, synchronize, reopened, auto_merge_enabled]
|
||||||
branches: [main]
|
branches: [main]
|
||||||
env:
|
env:
|
||||||
POETRY_VERSION: "1.8.2"
|
POETRY_VERSION: "1.8.2"
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Run Unit Tests
|
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:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
types: [opened, synchronize, reopened]
|
types: [opened, synchronize, reopened, auto_merge_enabled]
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
env:
|
env:
|
||||||
POETRY_VERSION: "1.8.2"
|
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
|
required: false
|
||||||
type: string
|
type: string
|
||||||
pull_request:
|
pull_request:
|
||||||
types: [opened, synchronize, reopened]
|
types: [opened, synchronize, reopened, auto_merge_enabled]
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
env:
|
env:
|
||||||
POETRY_VERSION: "1.8.3"
|
POETRY_VERSION: "1.8.3"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue