From ab7666f561efe7a84c8d182d731e11a1bd0cf523 Mon Sep 17 00:00:00 2001 From: javalsai Date: Mon, 7 Jul 2025 04:19:29 +0200 Subject: [PATCH 1/2] ci(perf): only run push build checks if code changed --- .github/workflows/push.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index a6b85b4..0bea25f 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -12,7 +12,24 @@ jobs: name: Check uses: ./.github/workflows/check.yml permissions: write-all + check_paths: + name: Paths Filter + runs-on: ubuntu-latest + outputs: + code_changed: ${{ steps.filter.outputs.code }} + steps: + - uses: actions/checkout@v4 + - id: filter + uses: dorny/paths-filter@v3 + with: + filters: | + code: + - Makefile + - 'src/**' + - 'include/**' build: name: Build + needs: check_paths + if: github.event_name != 'push' || needs.check_paths.outputs.code_changed == 'true' uses: ./.github/workflows/build.yml permissions: write-all From a22c6b4597ab510b7e68914ac9426e1f70067018 Mon Sep 17 00:00:00 2001 From: javalsai Date: Mon, 7 Jul 2025 04:26:27 +0200 Subject: [PATCH 2/2] checks: add AUR codespell ignore path --- .codespellrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.codespellrc b/.codespellrc index 9122e4a..2170050 100644 --- a/.codespellrc +++ b/.codespellrc @@ -1,2 +1,2 @@ [codespell] -skip = ./assets/pkg/aur/*/src,./assets/pkg/aur/*/*/objects +skip = ./assets/pkg/aur/*/src,./assets/pkg/aur/*/*/objects,./assets/pkg/aur/*/*.tar.*