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:
1 parent
fdff94fa4d
commit
1813f5bbe9
1 file changed
+16
@@ -7,9 +7,25 @@ on:
|
||||
- develop
|
||||
tags:
|
||||
- 'v*'
|
||||
paths-ignore:
|
||||
- '**.md'
|
||||
- 'docs/**'
|
||||
- 'test/**'
|
||||
- 'scripts/**'
|
||||
- '.gitignore'
|
||||
- '.editorconfig'
|
||||
- 'LICENSE'
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
paths-ignore:
|
||||
- '**.md'
|
||||
- 'docs/**'
|
||||
- 'test/**'
|
||||
- 'scripts/**'
|
||||
- '.gitignore'
|
||||
- '.editorconfig'
|
||||
- 'LICENSE'
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
|
||||
Reference in new issue
Block a user