Improve actions file ignore rules (#1491)
* Add clang-format workflow for pull request checks * Modify push paths in nightly workflow Updated paths for push event to include all files except specified ones. * Update paths for nightly-server workflow triggers * Modify paths for pull request triggers Update pull request workflow to include specific paths. * Remove formatting check workflow
This commit is contained in:
parent
82c1ae1968
commit
9e6e3de338
11
.github/workflows/nightly-server.yml
vendored
11
.github/workflows/nightly-server.yml
vendored
|
|
@ -5,11 +5,12 @@ on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- 'main'
|
- 'main'
|
||||||
paths-ignore:
|
paths:
|
||||||
- '.gitignore'
|
- '**'
|
||||||
- '*.md'
|
- '!.gitignore'
|
||||||
- '.github/**'
|
- '!*.md'
|
||||||
- '!.github/workflows/nightly-server.yml'
|
- '!.github/**'
|
||||||
|
- '.github/workflows/nightly-server.yml'
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
|
|
||||||
11
.github/workflows/nightly.yml
vendored
11
.github/workflows/nightly.yml
vendored
|
|
@ -5,11 +5,12 @@ on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- 'main'
|
- 'main'
|
||||||
paths-ignore:
|
paths:
|
||||||
- '.gitignore'
|
- '**'
|
||||||
- '*.md'
|
- '!.gitignore'
|
||||||
- '.github/**'
|
- '!*.md'
|
||||||
- '!.github/workflows/nightly.yml'
|
- '!.github/**'
|
||||||
|
- '.github/workflows/nightly.yml'
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
|
|
||||||
10
.github/workflows/pull-request.yml
vendored
10
.github/workflows/pull-request.yml
vendored
|
|
@ -4,10 +4,12 @@ on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
pull_request:
|
pull_request:
|
||||||
types: [opened, reopened, synchronize]
|
types: [opened, reopened, synchronize]
|
||||||
paths-ignore:
|
paths:
|
||||||
- '.gitignore'
|
- '**'
|
||||||
- '*.md'
|
- '!.gitignore'
|
||||||
- '.github/*.md'
|
- '!*.md'
|
||||||
|
- '!.github/**'
|
||||||
|
- '.github/workflows/pull-request.yml'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue