Add selective execution rules step to CI (#18729)

This commit is contained in:
Tiago Jacobs 2023-09-06 17:58:18 -03:00 committed by GitHub
parent 1d9cc4a38c
commit 89c404cee4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 12 deletions

View File

@ -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

View File

@ -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