Repository navigation
docs(analyze): bound the forge pass by quota share and a short CI window - #21
Merged
Merged
Conversation
…ads a 7-day forge window on push and release
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
cli/commands/analyze.md: adds the--forge-window-daysflag to the flags table, and a paragraph explaining that the GitHub pass stops while half the token's hourly limit is left (never less than 100 requests), with aforgewarning in the report when it does.cli/ci-cd/granular-actions.md: the workflowvulnetix gha initwrites now passes--forge-window-days=7toanalyzeon a push or a release. Only a manual run reads the full window. Pull requests still pass--no-forge.Why
These document the CLI change in Vulnetix/cli#339. CodeQL and the release dispatch were failing on main with
API rate limit exceeded for installation. The cause was theanalyzejob reading a year of pull requests, issues and commit reviews on every push, using the repository-wide job token.How verified