From b9a2b2fe3f7b5f0fdd4dcd28a99d5a585cbaf325 Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Wed, 23 Apr 2025 16:32:57 +0800 Subject: [PATCH] add dnscontrol checks to ci --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 91d81f6e7..c3a06ac0c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,5 +43,11 @@ jobs: env: GH_TOKEN: ${{ github.token }} + - name: Run DNSControl tests + if: github.event_name == 'pull_request' && contains(fromJson(env.CHANGED_FILES), 'dnsconfig.js') + uses: is-a-dev/dnscontrol-action@main + with: + args: check + - name: Run tests run: npx ava tests/*.test.js --timeout=1m