From b096664dee7707292691b9c3270ef5e74d951368 Mon Sep 17 00:00:00 2001 From: davidcbacker <20198171+davidcbacker@users.noreply.github.com> Date: Sat, 25 Apr 2026 09:24:37 -0400 Subject: [PATCH 1/4] Update changes.yaml --- .github/workflows/changes.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.github/workflows/changes.yaml b/.github/workflows/changes.yaml index 8cb1e57..d4318c1 100644 --- a/.github/workflows/changes.yaml +++ b/.github/workflows/changes.yaml @@ -10,6 +10,25 @@ on : workflow_dispatch: jobs: + changes: + name: Check which files changed + runs-on: ubuntu-latest + permissions: + pull-requests: read + outputs: + ci: ${{ steps.filter.outputs.ci }} + css: ${{ steps.filter.outputs.css }} + html: ${{ steps.filter.outputs.html }} + javascript: ${{ steps.filter.outputs.javascript }} + markdown: ${{ steps.filter.outputs.markdown }} + steps: + - uses: actions/checkout@v6 + - uses: dorny/paths-filter@v4 + id: filter + with: + filters: config/dorny-paths-filter.yaml + list-files: shell + lint_ci: name: Lint CI uses: ./.github/workflows/lint_ci.yaml From 692619d8a4e284acbcacca86c89a4656f0edff10 Mon Sep 17 00:00:00 2001 From: davidcbacker <20198171+davidcbacker@users.noreply.github.com> Date: Sat, 25 Apr 2026 09:27:33 -0400 Subject: [PATCH 2/4] Update changes.yaml --- .github/workflows/changes.yaml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/changes.yaml b/.github/workflows/changes.yaml index d4318c1..ebfff95 100644 --- a/.github/workflows/changes.yaml +++ b/.github/workflows/changes.yaml @@ -10,7 +10,7 @@ on : workflow_dispatch: jobs: - changes: + changes: name: Check which files changed runs-on: ubuntu-latest permissions: @@ -31,27 +31,38 @@ jobs: lint_ci: name: Lint CI + needs: changes + if: ${{ needs.changes.outputs.ci == 'true' }} uses: ./.github/workflows/lint_ci.yaml lint_css: name: Lint CSS + needs: changes + if: ${{ needs.changes.outputs.css == 'true' }} uses: ./.github/workflows/lint_css.yaml lint_html: name: Lint HTML code + needs: changes + if: ${{ needs.changes.outputs.html == 'true' }} uses: ./.github/workflows/lint_html.yaml lint_javascript: name: Lint JavaScript code + needs: changes + if: ${{ needs.changes.outputs.javascript == 'true' }} uses: ./.github/workflows/lint_javascript.yaml check_markdown: name: Check Markdown code + needs: changes + if: ${{ needs.changes.outputs.markdown == 'true' }} uses: ./.github/workflows/check_markdown.yaml build_website: name: Build website needs: + - changes - lint_ci - lint_css - lint_html @@ -62,6 +73,7 @@ jobs: deploy_website: name: Deploy website needs: + - changes - lint_ci - lint_css - lint_html From 5802a34af12a75afc201f063674523cbb637c77e Mon Sep 17 00:00:00 2001 From: davidcbacker <20198171+davidcbacker@users.noreply.github.com> Date: Sat, 25 Apr 2026 09:33:13 -0400 Subject: [PATCH 3/4] Update changes.yaml --- .github/workflows/changes.yaml | 41 +++++++++++++++++++++++++++++----- 1 file changed, 35 insertions(+), 6 deletions(-) diff --git a/.github/workflows/changes.yaml b/.github/workflows/changes.yaml index ebfff95..173e5bb 100644 --- a/.github/workflows/changes.yaml +++ b/.github/workflows/changes.yaml @@ -21,6 +21,7 @@ jobs: html: ${{ steps.filter.outputs.html }} javascript: ${{ steps.filter.outputs.javascript }} markdown: ${{ steps.filter.outputs.markdown }} + website: ${{ steps.filter.outputs.website }} steps: - uses: actions/checkout@v6 - uses: dorny/paths-filter@v4 @@ -32,31 +33,51 @@ jobs: lint_ci: name: Lint CI needs: changes - if: ${{ needs.changes.outputs.ci == 'true' }} + if: >- + ${{ + needs.changes.outputs.ci == 'true' || + needs.changes.outputs.website + }} uses: ./.github/workflows/lint_ci.yaml lint_css: name: Lint CSS needs: changes - if: ${{ needs.changes.outputs.css == 'true' }} + if: >- + ${{ + needs.changes.outputs.css == 'true' || + needs.changes.outputs.website + }} uses: ./.github/workflows/lint_css.yaml lint_html: name: Lint HTML code needs: changes - if: ${{ needs.changes.outputs.html == 'true' }} + if: >- + ${{ + needs.changes.outputs.html == 'true' || + needs.changes.outputs.website + }} uses: ./.github/workflows/lint_html.yaml lint_javascript: name: Lint JavaScript code needs: changes - if: ${{ needs.changes.outputs.javascript == 'true' }} + if: >- + ${{ + needs.changes.outputs.javascript == 'true' || + needs.changes.outputs.website + }} uses: ./.github/workflows/lint_javascript.yaml check_markdown: name: Check Markdown code needs: changes - if: ${{ needs.changes.outputs.markdown == 'true' }} + if: >- + ${{ + needs.changes.outputs.markdown == 'true' || + needs.changes.outputs.website + }} uses: ./.github/workflows/check_markdown.yaml build_website: @@ -68,6 +89,10 @@ jobs: - lint_html # - lint_javascript # FOR NOW UNTIL DORNY PATHS FILTER IS IMPLEMENTED - check_markdown + if: >- + ${{ + needs.changes.outputs.website + }} uses: ./.github/workflows/build.yaml deploy_website: @@ -80,7 +105,11 @@ jobs: - lint_javascript - check_markdown - build_website - if: ${{ github.ref == 'refs/heads/master' }} + if: >- + ${{ + needs.changes.outputs.website && + github.ref == 'refs/heads/master' + }} permissions: contents: write uses: ./.github/workflows/deploy.yaml From 781f42bb677f99e54caff69e053ed3f0eb706ec8 Mon Sep 17 00:00:00 2001 From: davidcbacker <20198171+davidcbacker@users.noreply.github.com> Date: Sat, 25 Apr 2026 09:33:59 -0400 Subject: [PATCH 4/4] Update dorny-paths-filter.yaml --- config/dorny-paths-filter.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/dorny-paths-filter.yaml b/config/dorny-paths-filter.yaml index b0a6352..efb4399 100644 --- a/config/dorny-paths-filter.yaml +++ b/config/dorny-paths-filter.yaml @@ -13,3 +13,7 @@ markdown: - 'data/config/.markdownlint-cli2.jsonc' - 'data/config/spellcheck.yaml' - 'data/config/spellcheck_whitelist.txt' +website: + - 'src/style.css' + - 'src/index.html' + - 'src/script.js'