wombatu-kun commented on code in PR #16513:
URL: https://github.com/apache/iceberg/pull/16513#discussion_r3401160182
##########
.github/workflows/cve-scan.yml:
##########
@@ -27,7 +27,49 @@ on:
- '2.*'
tags:
- 'apache-iceberg-**'
+ paths:
+ - '**'
+ - '!.github/**'
+ - '.github/workflows/cve-scan.yml'
+ - '!.baseline/**'
+ - '!.palantir/**'
+ - '!.gitignore'
+ - '!.asf.yaml'
+ - '!dev/**'
+ - '!docker/**'
+ - '!docs/**'
+ - '!examples/**'
+ - '!site/**'
+ - '!format/**'
+ - '!.gitattributes'
+ - '!**/README.md'
+ - '!AGENTS.md'
+ - '!CONTRIBUTING.md'
Review Comment:
The exclusion only landed in the push paths list (line 48). The pull_request
paths list still goes from `'!CONTRIBUTING.md'` (line 70) directly to
`'!**/LICENSE'` (line 71), so a PR touching only `SECURITY-THREAT-MODEL.md`
still triggers the scan. Add `'!SECURITY-THREAT-MODEL.md'` after line 70 to
skip it on pull_request too.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]