Skip to content

Commit 9675672

Browse files
authored
Cosmetic change + CI job to validate line length (#245)
* Use double space after "." per IETF convention * Fixed more lines exceeding 72 chars * CI: added line length validation * Made the example fit the 72 chars per line
1 parent a7f1475 commit 9675672

File tree

2 files changed

+113
-89
lines changed

2 files changed

+113
-89
lines changed

.github/workflows/line-length.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Validate I-D line length
2+
on: [push]
3+
4+
jobs:
5+
validate_line_length:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- name: Checkout
9+
uses: actions/checkout@v4
10+
11+
- name: Validate I-D line length
12+
run: if grep -nE '.{73,}' IETF-RFC.md | grep ' '; then echo "Found lines exceeding the limit"; exit -1; else echo "Validation completed successfully"; fi
13+

0 commit comments

Comments
 (0)