Skip to content

Update line length check#328

Merged
cconlon merged 1 commit intowolfSSL:masterfrom
padelsbach:line-length-check-updates
Feb 10, 2026
Merged

Update line length check#328
cconlon merged 1 commit intowolfSSL:masterfrom
padelsbach:line-length-check-updates

Conversation

@padelsbach
Copy link
Copy Markdown
Contributor

@padelsbach padelsbach commented Feb 6, 2026

Android CI failures are fixed with #326. Please merge that first.

@padelsbach padelsbach requested review from cconlon and rlm2002 February 6, 2026 23:33
@padelsbach padelsbach force-pushed the line-length-check-updates branch 5 times, most recently from e832370 to 31f1957 Compare February 9, 2026 17:40
@cconlon cconlon requested a review from Copilot February 10, 2026 17:13
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR refactors the CI line-length check to use a reusable helper script, aiming to correct incorrect line numbers reported in workflow output and enabling local execution (e.g., via git hooks).

Changes:

  • Added scripts/line-length-check-added-lines.sh to detect >80-char lines introduced by a PR diff while ignoring pre-existing long lines.
  • Simplified the GitHub Actions workflow to call the helper script instead of embedding the check logic inline.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 5 comments.

File Description
scripts/line-length-check-added-lines.sh New helper script implementing the “check only added lines” line-length enforcement logic.
.github/workflows/line-length-check.yml Replaces inline bash logic with a call to the new helper script.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread scripts/line-length-check-added-lines.sh Outdated
Comment thread scripts/line-length-check-added-lines.sh Outdated
Comment thread scripts/line-length-check-added-lines.sh Outdated
Comment thread scripts/line-length-check-added-lines.sh Outdated
Comment thread .github/workflows/line-length-check.yml Outdated
@cconlon cconlon assigned padelsbach and unassigned rlm2002 Feb 10, 2026
@padelsbach padelsbach force-pushed the line-length-check-updates branch from 31f1957 to bd53f9a Compare February 10, 2026 17:40
@padelsbach padelsbach assigned cconlon and unassigned padelsbach Feb 10, 2026
@padelsbach padelsbach force-pushed the line-length-check-updates branch from bd53f9a to 12cc449 Compare February 10, 2026 18:56
@cconlon cconlon merged commit 69550dc into wolfSSL:master Feb 10, 2026
96 checks passed
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.

4 participants