diff --git a/.github/workflows/sentence-per-line.yml b/.github/workflows/sentence-per-line.yml new file mode 100644 index 00000000..59713f66 --- /dev/null +++ b/.github/workflows/sentence-per-line.yml @@ -0,0 +1,27 @@ +name: Sentence per line + +on: + pull_request: + branches: ["main"] + paths: + - "content/blog/**" + - ".github/workflows/sentence-per-line.yml" + +permissions: + contents: read + pull-requests: read + +jobs: + check: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + + # Most existing posts have multi-sentence lines, so check only the lines a PR touches, and warn. + - name: Check one sentence per line + uses: madolson/sentence-per-line@a8a3ecebed791b3087fd6e0b94af1224f8cd1a20 # v1.0.0 + with: + paths: content/blog + scope: changed-lines + fail: false diff --git a/content/blog/2026-10-15-ValkeyConf2026/index.md b/content/blog/2026-10-15-ValkeyConf2026/index.md index fb3f531e..9bd02792 100644 --- a/content/blog/2026-10-15-ValkeyConf2026/index.md +++ b/content/blog/2026-10-15-ValkeyConf2026/index.md @@ -87,4 +87,6 @@ More contributions, more ideas, and more code to review. A good problem to have, ## Made it this far and have opinions? -Great. Valkey is built by the community and there’s always room for someone ready to turn those opinions into contributions. So, don’t keep it cached. Bring it to the [Valkey Community](https://valkey.io/community/). \ No newline at end of file +Great. Valkey is built by the community and there’s always room for someone ready to turn those opinions into contributions. So, don’t keep it cached. Bring it to the [Valkey Community](https://valkey.io/community/). +This added line holds two sentences. It should be flagged. +This added line holds one sentence.