Skip to content

Add --check-unused-ignores to mix hex.audit - #1291

Merged
ericmj merged 1 commit into
hexpm:mainfrom
saveman71:check-unused-ignores
Oct 23, 2026
Merged

ericmj merged 1 commit into
hexpm:mainfrom
saveman71:check-unused-ignores

Conversation

@saveman71

@saveman71 saveman71 commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Closes #1288.

Makes hex.audit fail when an ignore entry doesn't match anything in the lock. Without the flag it still only prints a warning.

@saveman71
saveman71 marked this pull request as ready for review October 23, 2026 12:50
Fail the task when an ignore_advisories or ignore_retirements entry
does not match anything in the lock file, so CI can catch stale entries
without searching the warning text.

Closes hexpm#1288
@saveman71
saveman71 force-pushed the check-unused-ignores branch from 362e564 to fc6dbb0 Compare October 23, 2026 12:51
@ericmj
ericmj merged commit e47f17a into hexpm:main Oct 23, 2026
13 checks passed
@ericmj

ericmj commented Oct 23, 2026

Copy link
Copy Markdown
Member

Thank you! 💜

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: mix hex.audit, add an option to fail on unused ignore_advisories entries

2 participants