Freeze BKG 2.0.4 and eBL (plus modules) 3.0.3#621
Merged
Conversation
Review Summary by QodoFreeze BKG 2.0.4 and eBL 3.0.3 with module versions
WalkthroughsDescription• Freeze BKG version 2.0.4 in forbidden changes list • Freeze eBL version 3.0.3 and all related modules • Prevent accidental modifications to released versions Diagramflowchart LR
A["BKG v2.0.4"] --> B["Forbidden Changes List"]
C["eBL v3.0.3"] --> B
D["eBL Endorsement v3.0.3"] --> B
E["eBL Issuance v3.0.3"] --> B
F["eBL Surrender v3.0.3"] --> B
B --> G["Version Protection"]
File Changes1. .github/forbidden_changes.txt
|
Code Review by Qodo
|
| ebl/v3/EBL_v3.0.0.yaml | ||
| ebl/v3/EBL_v3.0.1.yaml | ||
| ebl/v3/EBL_v3.0.2.yaml | ||
| ebl/v3/EBL_v3.0.3.yaml |
There was a problem hiding this comment.
1. Pr file list truncation 🐞 Bug ⛨ Security
The forbidden-change workflow only fetches the first 100 changed files (per_page: 100) and does not paginate, so forbidden edits can slip through in PRs that change more than 100 files (including the newly frozen specs). This undermines the freeze enforcement guarantee.
Agent Prompt
### Issue description
The forbidden-change check only evaluates the first page (max 100) of PR files, allowing forbidden edits to bypass detection in large PRs.
### Issue Context
This PR expands the set of frozen specs (e.g., `ebl/v3/EBL_v3.0.3.yaml`). The enforcement mechanism must reliably evaluate *all* changed files.
### Fix Focus Areas
- .github/workflows/check_forbidden_changes.yml[39-48]
- .github/workflows/check_forbidden_changes.yml[62-70]
### Implementation notes
Use Octokit pagination (e.g., `github.paginate(github.rest.pulls.listFiles, { owner, repo, pull_number, per_page: 100 })`) or a manual loop over `page` until fewer than `per_page` results are returned, then build `changedFiles` from the full aggregated list.
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
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.
No description provided.