chore(ci): add paths-ignore for none code related directories (#2695)
* add paths-ignore for none code related directories * add missing pipe
This commit is contained in:
parent
343bd61ebb
commit
f60b7f321f
17
.github/workflows/ci.yaml
vendored
17
.github/workflows/ci.yaml
vendored
@ -4,19 +4,25 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- '**'
|
||||
# - $default-branch
|
||||
paths-ignore:
|
||||
- '.devcontainer/**'
|
||||
- '.vscode/**'
|
||||
- 'contrib/**'
|
||||
- 'docs/**'
|
||||
pull_request:
|
||||
branches:
|
||||
- '**'
|
||||
# - $default-branch
|
||||
|
||||
paths-ignore:
|
||||
- '.devcontainer/**'
|
||||
- '.vscode/**'
|
||||
- 'contrib/**'
|
||||
- 'docs/**'
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
COVER: true
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
@ -59,7 +65,6 @@ jobs:
|
||||
docker:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
|
16
.github/workflows/codeql.yml
vendored
16
.github/workflows/codeql.yml
vendored
@ -2,10 +2,22 @@ name: "Code scanning - action"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [master, ]
|
||||
branches:
|
||||
- master
|
||||
paths-ignore:
|
||||
- '.devcontainer/**'
|
||||
- '.vscode/**'
|
||||
- 'contrib/**'
|
||||
- 'docs/**'
|
||||
pull_request:
|
||||
# The branches below must be a subset of the branches above
|
||||
branches: [master]
|
||||
branches:
|
||||
- master
|
||||
paths-ignore:
|
||||
- '.devcontainer/**'
|
||||
- '.vscode/**'
|
||||
- 'contrib/**'
|
||||
- 'docs/**'
|
||||
schedule:
|
||||
- cron: '0 15 * * 2'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user