From cc76ac8cbe8c1789d5fa7fbf92e08266d50b755f Mon Sep 17 00:00:00 2001 From: William Harrison Date: Sat, 27 May 2023 10:35:53 +0800 Subject: [PATCH] Update pr-domains.yml --- .github/workflows/pr-domains.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr-domains.yml b/.github/workflows/pr-domains.yml index 536df52..b655c2c 100644 --- a/.github/workflows/pr-domains.yml +++ b/.github/workflows/pr-domains.yml @@ -13,10 +13,10 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Find Modified JSON Files + - name: Find Files id: find_files run: | - echo "::set-output name=files::$(git diff --name-only --diff-filter=M "domains/" | grep '\.json$' || echo '')" + echo "::set-output name=files::$(git diff --name-only --diff-filter=AM "domains/" | grep '\.json$' || echo '')" - name: Retrieve and Validate Emails id: validate_email