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:
rtm516
2026-04-13 04:52:34 +01:00
committed by GitHub
parent 82c1ae1968
commit 9e6e3de338
3 changed files with 18 additions and 14 deletions

View File

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

View File

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

View File

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