Add selective execution rules step to CI (#18729)
This commit is contained in:
parent
1d9cc4a38c
commit
89c404cee4
18
.github/workflows/ts-code-compilation.yml
vendored
18
.github/workflows/ts-code-compilation.yml
vendored
@ -1,14 +1,20 @@
|
||||
name: Typescript - compile code
|
||||
on:
|
||||
push:
|
||||
pull_request_target:
|
||||
types:
|
||||
- opened
|
||||
- synchronize
|
||||
|
||||
branches:
|
||||
- "develop"
|
||||
- "v2.[5-9].x-release"
|
||||
- "v[3-9].*.x-release"
|
||||
paths-ignore:
|
||||
- "docs/**"
|
||||
- "**/*.md"
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened]
|
||||
paths-ignore:
|
||||
- "docs/**"
|
||||
- "**/*.md"
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
ts-code-compilation:
|
||||
runs-on: ubuntu-22.04
|
||||
|
18
.github/workflows/ts-code-validation.yml
vendored
18
.github/workflows/ts-code-validation.yml
vendored
@ -1,14 +1,20 @@
|
||||
name: Typescript - validate code (eslint)
|
||||
on:
|
||||
push:
|
||||
pull_request_target:
|
||||
types:
|
||||
- opened
|
||||
- synchronize
|
||||
|
||||
branches:
|
||||
- "develop"
|
||||
- "v2.[5-9].x-release"
|
||||
- "v[3-9].*.x-release"
|
||||
paths-ignore:
|
||||
- "docs/**"
|
||||
- "**/*.md"
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened]
|
||||
paths-ignore:
|
||||
- "docs/**"
|
||||
- "**/*.md"
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
ts-code-validation:
|
||||
runs-on: ubuntu-22.04
|
||||
|
Loading…
Reference in New Issue
Block a user