Fix and remove conflicting paths from clang-format workflow (#2455)

Fixes the GitHub Actions error where both `paths` and `paths-ignore`
were defined for the same event, which is not allowed.

Resolves the error: "you may only define one of `paths` and
`paths-ignore` for a single event"

Removed the conflicting `paths` section from the `pull_request` trigger,
keeping only `paths-ignore` to skip documentation changes while allowing
the workflow to run on all other changes.

This is a follow-up fix to address the issue identified in the previous
PR.

Signed-off-by: Hanxi Zhang <hanxizh@amazon.com>
This commit is contained in:
Hanxi Zhang 2025-08-07 23:34:19 -07:00 committed by GitHub
parent c6794fd2cc
commit 7bbf5233c8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 2 deletions

View File

@ -7,8 +7,6 @@ on:
- '**/00-RELEASENOTES'
- '**/COPYING'
pull_request:
paths:
- 'src/**'
paths-ignore:
- '**/*.md'
- '**/00-RELEASENOTES'