From 1c53e3f03450539d3ae3399e594754ccac6c0be6 Mon Sep 17 00:00:00 2001 From: Dave Skender <8432125+DaveSkender@users.noreply.github.com> Date: Sat, 30 May 2026 17:36:40 -0400 Subject: [PATCH 1/3] ci: add ci.yml with markdownlint lint-and-test job Add a `.github/workflows/ci.yml` with a `lint-and-test` job running markdownlint (org-standard config) so this repo satisfies the facioquo org ruleset requiring a `lint-and-test` status check. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/ci.yml | 25 +++++++++++++++++++++++++ .markdownlint-cli2.jsonc | 22 ++++++++++++++++++++++ CODE_OF_CONDUCT.md | 20 ++++++++++---------- 3 files changed, 57 insertions(+), 10 deletions(-) create mode 100644 .github/workflows/ci.yml create mode 100644 .markdownlint-cli2.jsonc diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..ae78110 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,25 @@ +name: CI + +on: + pull_request: + push: + branches: [main] + workflow_dispatch: + +permissions: + contents: read + +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + +jobs: + lint-and-test: + runs-on: ubuntu-latest + + steps: + - name: Checkout source code + uses: actions/checkout@v6 + + - name: Lint markdown + uses: DavidAnson/markdownlint-cli2-action@v22 diff --git a/.markdownlint-cli2.jsonc b/.markdownlint-cli2.jsonc new file mode 100644 index 0000000..4c466e7 --- /dev/null +++ b/.markdownlint-cli2.jsonc @@ -0,0 +1,22 @@ +{ + "globs": ["**/*.md"], + "gitignore": true, + "ignores": ["node_modules/**"], + "config": { + "default": true, + "MD003": { "style": "atx" }, + "MD004": { "style": "dash" }, + "MD007": { "indent": 2 }, + "MD013": false, // allow long lines + "MD024": { "siblings_only": true }, + "MD028": false, // allow separation between quote blocks + "MD033": { + "allowed_elements": ["details", "summary", "br", "sub", "sup", "kbd", "abbr", "a", "img"] + }, + "MD041": false, + "MD046": { "style": "fenced" }, + "MD048": { "style": "backtick" }, + "MD055": { "style": "leading_and_trailing" }, + "MD060": { "style": "compact", "aligned_delimiter": false } + } +} diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index 98252a4..0fb47d5 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -17,23 +17,23 @@ diverse, inclusive, and healthy community. Examples of behavior that contributes to a positive environment for our community include: -* Demonstrating empathy and kindness toward other people -* Being respectful of differing opinions, viewpoints, and experiences -* Giving and gracefully accepting constructive feedback -* Accepting responsibility and apologizing to those affected by our mistakes, +- Demonstrating empathy and kindness toward other people +- Being respectful of differing opinions, viewpoints, and experiences +- Giving and gracefully accepting constructive feedback +- Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience -* Focusing on what is best not just for us as individuals, but for the +- Focusing on what is best not just for us as individuals, but for the overall community Examples of unacceptable behavior include: -* The use of sexualized language or imagery, and sexual attention or +- The use of sexualized language or imagery, and sexual attention or advances of any kind -* Trolling, insulting or derogatory comments, and personal or political attacks -* Public or private harassment -* Publishing others' private information, such as a physical or email +- Trolling, insulting or derogatory comments, and personal or political attacks +- Public or private harassment +- Publishing others' private information, such as a physical or email address, without their explicit permission -* Other conduct which could reasonably be considered inappropriate in a +- Other conduct which could reasonably be considered inappropriate in a professional setting ## Enforcement Responsibilities From b5e636aa5c8b2b5b78d0c3bb1bbddc40262710e2 Mon Sep 17 00:00:00 2001 From: Dave Skender <8432125+DaveSkender@users.noreply.github.com> Date: Sat, 30 May 2026 18:01:48 -0400 Subject: [PATCH 2/3] ci: bump markdownlint-cli2-action to v23 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ae78110..bbec302 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,4 +22,4 @@ jobs: uses: actions/checkout@v6 - name: Lint markdown - uses: DavidAnson/markdownlint-cli2-action@v22 + uses: DavidAnson/markdownlint-cli2-action@v23 From ce2ace2e53acd4b98aa4a19df19207e51be17337 Mon Sep 17 00:00:00 2001 From: Dave Skender <8432125+DaveSkender@users.noreply.github.com> Date: Sat, 30 May 2026 18:05:44 -0400 Subject: [PATCH 3/3] ci: run lightweight lint-and-test on ubuntu-slim --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bbec302..605a285 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ concurrency: jobs: lint-and-test: - runs-on: ubuntu-latest + runs-on: ubuntu-slim steps: - name: Checkout source code