Feat/exclude tests by default #67
release-drafter.yml
on: pull_request
update_release_draft
5s
label
4s
Annotations
2 errors and 4 warnings
|
update_release_draft
HttpError: Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
at /home/runner/work/_actions/release-drafter/release-drafter/v6/dist/index.js:7146:21
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Job.doExecute (/home/runner/work/_actions/release-drafter/release-drafter/v6/dist/index.js:61885:18)
{
name: 'AggregateError',
event: {
id: '21636065916',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '3f8d855fecebb1231d6035ec598b324e9c138658',
before: '806a4dda76f80d615edb45ce4c10c563e8cebc43',
number: 9,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/bumahkib7/rust-monorepo-analyzer/issues/9/comments'
},
commits: {
href: 'https://api.github.com/repos/bumahkib7/rust-monorepo-analyzer/pulls/9/commits'
},
html: {
href: 'https://github.com/bumahkib7/rust-monorepo-analyzer/pull/9'
},
issue: {
href: 'https://api.github.com/repos/bumahkib7/rust-monorepo-analyzer/issues/9'
},
review_comment: {
href: 'https://api.github.com/repos/bumahkib7/rust-monorepo-analyzer/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/bumahkib7/rust-monorepo-analyzer/pulls/9/comments'
},
self: {
href: 'https://api.github.com/repos/bumahkib7/rust-monorepo-analyzer/pulls/9'
},
statuses: {
href: 'https://api.github.com/repos/bumahkib7/rust-monorepo-analyzer/statuses/3f8d855fecebb1231d6035ec598b324e9c138658'
}
},
active_lock_reason: null,
additions: 244,
assignee: null,
assignees: [],
author_association: 'OWNER',
auto_merge: {
commit_message: '* feat: exclude test files by default across all languages\n' +
'\n' +
'- Test files are now excluded from scans by default\n' +
'- Add --include-tests flag to opt-in to scanning test files\n' +
'- Deprecate --skip-tests (tests excluded by default now)\n' +
'- Unify test patterns: security command now uses same 70+ patterns as scan\n' +
'- Patterns cover: JS/TS, Python, Go, Rust, Java, Kotlin test conventions\n' +
'\n' +
'BREAKING CHANGE: Tests are now excluded by default. Use --include-tests to scan them.\n' +
'\n' +
'Co-Authored-By: Claude Opus 4.5 <[email protected]>\n' +
'\n' +
'* chore: release v0.16.0\n' +
'\n' +
'## Enhanced Interactive TUI (`rma scan --interactive`)\n' +
'- Call Graph Statistics Panel with real-time overview\n' +
'- Security Classification Badges for sources, sinks, sanitizers\n' +
'- Source→Sink Flow Highlighting with ⚠ icon\n' +
'- Source→Sink Filter (press x) to show dangerous edges only\n' +
'- Edge Detail Panel (Enter) with security warnings and remediation\n' +
'- Enhanced Finding Detail View with full metadata\n' +
'\n' +
'## Analysis Caching\n' +
'- Incremental scan cache with content-hash based caching\n' +
'- --no-cache flag to force fresh analysis\n' +
'- Cache stored in .rma/cache/analysis/\n' +
'\n' +
'## Test Exclusion\n' +
'- Tests excluded by default across all languages\n' +
'- --include-tests to opt-in to scanning test files\n' +
'- 70+ test patterns for JS/TS, Python, Go, Rust, Java, Kotlin\n' +
'- Call graph edges now exclude test files by default\n' +
'\n' +
'## Flows Command\n' +
'- rma flows --interactive for TUI data flow browsing\n' +
'- Test file filtering in cross-file flows\n' +
'\n' +
|
|
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '21636065916',
status: 422,
response: {
url: 'https://api.github.com/repos/bumahkib7/rust-monorepo-analyzer/releases/282569783',
status: 422,
headers: {
'access-control-allow-origin': '*',
'access-control-expose-headers': 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset',
'content-length': '210',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Tue, 03 Feb 2026 15:22:33 GMT',
'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin',
server: 'github.com',
'strict-transport-security': 'max-age=31536000; includeSubdomains; preload',
vary: 'Accept-Encoding, Accept, X-Requested-With',
'x-accepted-github-permissions': 'contents=write',
'x-content-type-options': 'nosniff',
'x-frame-options': 'deny',
'x-github-api-version-selected': '2022-11-28',
'x-github-media-type': 'github.v3; format=json',
'x-github-request-id': '83C1:32D2C2:ED68FF:40EF52E:698212B9',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4968',
'x-ratelimit-reset': '1770134737',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '32',
'x-xss-protection': '0'
},
data: {
message: 'Validation Failed',
errors: [
{
resource: 'Release',
code: 'invalid',
field: 'target_commitish'
}
],
documentation_url: 'https://docs.github.com/rest/releases/releases#update-a-release',
status: '422'
}
},
request: {
method: 'PATCH',
url: 'https://api.github.com/repos/bumahkib7/rust-monorepo-analyzer/releases/282569783',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.4.0 octokit-core.js/3.6.0 Node.js/20.19.6 (linux; x64)',
'x-github-delivery': '21636065916',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: `{"body":"## What's Changed\\n\\n## 🚀 Features\\n\\n- chore: release v0.16.0 @bumahkib7 (#8)\\n\\n## 🧰 Maintenance\\n\\n- chore: release v0.16.0 @bumahkib7 (#8)\\n\\n**Full Changelog**: https://github.com/bumahkib7/rust-monorepo-analyzer/compare/v0.16.0...v0.17.0\\n","draft":true,"prerelease":false,"make_latest":"true","name":"v0.17.0","tag_name":"v0.17.0","target_commitish":"refs/pull/9/merge"}`,
request: {}
},
event: {
id: '21636065916',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '3f8d855fecebb1231d6035ec598b324e9c138658',
before: '806a4dda76f80d615edb45ce4c10c563e8cebc43',
number: 9,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/bumahkib7/rust-monorepo-analyzer/issues/9/comments'
},
commits: {
href: 'https://api.github.com/repos/bumahkib7/rust-monorepo-analyzer/pulls/9/commits'
},
html: {
href: 'https://github.com/bumahkib7/rust-monorepo-analyzer/pull/9'
},
issue: {
href: 'https://api.github.com/repos/bumahkib7/rust-monorepo-analyzer/issues/9'
},
review_comment: {
href: 'https://api.github.com/repos/bumahkib7/rust-monorepo-analyzer/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/bumahkib7/rust-monorepo-analyzer/pulls/9/comments'
},
self: {
href: 'https://api.github.com/repos/bumahkib7/rust-monorepo-analyzer/pulls/9'
},
statuses: {
href: 'https://api.github.com/repos/bumahkib7/rust-monorepo-analyzer/statuses/3f
|
|
update_release_draft
"pull_request_target.edited" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|
|
update_release_draft
"pull_request_target.synchronize" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|
|
update_release_draft
"pull_request_target.reopened" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|
|
update_release_draft
"pull_request_target.opened" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|