Ignore docs and config files in CI workflow triggers

Updated the GitHub Actions workflow to ignore changes in markdown files, documentation, test, scripts, and common config files when triggering on push and pull_request events. This reduces unnecessary workflow runs for non-code changes.
This commit is contained in:
xixu-me committed 2025-08-19 21:44:49 +08:00
1 parent fdff94fa4d
commit 1813f5bbe9
1 file changed
+16
+16
View File
@@ -7,9 +7,25 @@ on:
- develop - develop
tags: tags:
- 'v*' - 'v*'
paths-ignore:
- '**.md'
- 'docs/**'
- 'test/**'
- 'scripts/**'
- '.gitignore'
- '.editorconfig'
- 'LICENSE'
pull_request: pull_request:
branches: branches:
- main - main
paths-ignore:
- '**.md'
- 'docs/**'
- 'test/**'
- 'scripts/**'
- '.gitignore'
- '.editorconfig'
- 'LICENSE'
workflow_dispatch: workflow_dispatch:
env: env: