You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Vendors validation scripts and removes remote action pins to fix CI workflows. Ensure while read loops handle files missing a trailing newline to prevent skipping the final line.
Auto-approved: No blocking issues found.
Please see Auto-approve Docs for details on setting custom approval criteria.
✅ 1 resolved✅ Edge Case: while-read loops skip a file's final line without trailing newline
📄 .githooks/validate-a2ml.sh:102-111📄 .githooks/validate-a2ml.sh:128-142📄 .githooks/validate-a2ml.sh:239-253📄 .githooks/validate-a2ml.sh:270-280
All while IFS= read -r line; do ... done < "$file" loops rely on read succeeding, which returns non-zero (skipping the loop body) for a final line that lacks a trailing newline. A K9/A2ML file whose last line is the only content (e.g. a single-line file, or a pedigree/identity field on the last unterminated line) would be silently skipped, producing false 'Missing K9! magic number' / 'Missing identity field' errors. Guard with while IFS= read -r line || [[ -n "$line" ]]; do.
Options
Auto-apply is off → Gitar will not commit updates to this branch. Display: compact → Showing less information.
Comment with these commands to change the behavior for this request:
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
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.
Automated PR to fix CI after deleted actions.