Skip to content

Deduplicate optional dependency imports in regex detectors #108

Deduplicate optional dependency imports in regex detectors

Deduplicate optional dependency imports in regex detectors #108

Triggered via pull request September 19, 2025 13:52
Status Success
Total duration 15s
Artifacts

release-drafter.yml

on: pull_request
update_release_draft
12s
update_release_draft
Fit to window
Zoom out
Zoom in

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: '17860322713', name: 'pull_request', payload: { action: 'opened', number: 45, organization: { avatar_url: 'https://avatars.githubusercontent.com/u/225967246?v=4', description: '', events_url: 'https://api.github.com/orgs/Sober-Co/events', hooks_url: 'https://api.github.com/orgs/Sober-Co/hooks', id: 225967246, issues_url: 'https://api.github.com/orgs/Sober-Co/issues', login: 'Sober-Co', members_url: 'https://api.github.com/orgs/Sober-Co/members{/member}', node_id: 'O_kgDODXf8jg', public_members_url: 'https://api.github.com/orgs/Sober-Co/public_members{/member}', repos_url: 'https://api.github.com/orgs/Sober-Co/repos', url: 'https://api.github.com/orgs/Sober-Co' }, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/Sober-Co/redactable/issues/45/comments' }, commits: { href: 'https://api.github.com/repos/Sober-Co/redactable/pulls/45/commits' }, html: { href: 'https://github.com/Sober-Co/redactable/pull/45' }, issue: { href: 'https://api.github.com/repos/Sober-Co/redactable/issues/45' }, review_comment: { href: 'https://api.github.com/repos/Sober-Co/redactable/pulls/comments{/number}' }, review_comments: { href: 'https://api.github.com/repos/Sober-Co/redactable/pulls/45/comments' }, self: { href: 'https://api.github.com/repos/Sober-Co/redactable/pulls/45' }, statuses: { href: 'https://api.github.com/repos/Sober-Co/redactable/statuses/ff6c5feb6c33ac04c2810904eac1df854bb8efcc' } }, active_lock_reason: null, additions: 0, assignee: null, assignees: [], author_association: 'CONTRIBUTOR', auto_merge: null, base: { label: 'Sober-Co:dev_alpha', ref: 'dev_alpha', repo: { allow_auto_merge: false, allow_forking: true, allow_merge_commit: true, allow_rebase_merge: true, allow_squash_merge: true, allow_update_branch: false, archive_url: 'https://api.github.com/repos/Sober-Co/redactable/{archive_format}{/ref}', archived: false, assignees_url: 'https://api.github.com/repos/Sober-Co/redactable/assignees{/user}', blobs_url: 'https://api.github.com/repos/Sober-Co/redactable/git/blobs{/sha}', branches_url: 'https://api.github.com/repos/Sober-Co/redactable/branches{/branch}', clone_url: 'https://github.com/Sober-Co/redactable.git', collaborators_url: 'https://api.github.com/repos/Sober-Co/redactable/collaborators{/collaborator}', comments_url: 'https://api.github.com/repos/Sober-Co/redactable/comments{/number}', commits_url: 'https://api.github.com/repos/Sober-Co/redactable/commits{/sha}', compare_url: 'https://api.github.com/repos/Sober-Co/redactable/compare/{base}...{head}', contents_url: 'https://api.github.com/repos/Sober-Co/redactable/contents/{+path}', contributors_url: 'https://api.github.com/repos/Sober-Co/redactable/contributors', created_at: '2025-08-28T01:03:36Z', default_branch: 'main', delete_branch_on_merge: false, deployments_url: 'https://api.github.com/repos/Sober-Co/redactable/deployments', description: 'A versatile, policy-driven open-s
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"} { name: 'HttpError', id: '17860322713', status: 422, response: { url: 'https://api.github.com/repos/Sober-Co/redactable/releases/246889344', 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: 'Fri, 19 Sep 2025 13:52:50 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': '7041:342E56:4C060CC:4DEB2B4:68CD6032', 'x-ratelimit-limit': '5000', 'x-ratelimit-remaining': '4965', 'x-ratelimit-reset': '1758292000', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '35', '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/Sober-Co/redactable/releases/246889344', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/12.4.0 octokit-core.js/3.6.0 Node.js/20.19.4 (linux; x64)', 'x-github-delivery': '17860322713', authorization: 'token [REDACTED]', 'content-type': 'application/json; charset=utf-8' }, body: '{"body":"## What’s Changed\\n- Strengthen phone fallback credit-card guard (#43) by @aidankhogg\\n- Strengthen phone fallback credit-card guard (#41) by @aidankhogg\\n- feat(policy): support rule where predicates (#38) by @aidankhogg\\n- Use shared entropy utility and extend tests (#35) by @aidankhogg\\n- Guard phone fallback from card matches (#29) by @aidankhogg\\n- Fix policy span adjustments across replacements (#26) by @aidankhogg\\n- Add basic pre-commit configuration (#27) by @aidankhogg\\n- Clarify default policy behaviour in docs (#25) by @aidankhogg\\n- Strengthen email detector test (#24) by @aidankhogg\\n- Improve detector registry error handling (#21) by @aidankhogg\\n- Simplify GDPR policy schema (#20) by @aidankhogg\\n- Add option to return findings from apply (#22) by @aidankhogg\\n- Add policy builder for in-code configuration (#18) by @aidankhogg\\n\\n## 🚀 Features\\n\\n- Implement schema hint detection from context (#39) by @aidankhogg\\n- Add JSONL record writing support to AuditJSONLWriter (#37) by @aidankhogg\\n- Implement redactable IO decorator and add tests (#36) by @aidankhogg\\n- Support user path expansion in policy loader (#34) by @aidankhogg\\n- Adjust credit card confidence based on brand (#31) by @aidankhogg\\n\\n## 🐛 Fixes\\n\\n- Adjust libphonenumber spans and add regression test (#40) by @aidankhogg\\n- Ensure pytest can import the redactable package (#28) by @aidankhogg\\n","draft":true,"prerelease":false,"make_latest":"true","name":"v0.1.2","tag_name":"v0.1.2","target_commitish":"refs/pull/45/merge"}', request: {} }, event: { id: '17860322713', name: 'pull_request', payload: { action: 'opened', number: 45, organization: { avatar_url: 'htt
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/)