From 017b952165f3477a29fff1b405c3f017418a157c Mon Sep 17 00:00:00 2001 From: umihico Date: Thu, 13 Nov 2025 10:09:59 +0900 Subject: [PATCH] fix: Update grep pattern to match new example.com content MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The example.com page content has changed from "illustrative examples in documents" to "documentation examples". Updated the test assertions in both workflows to match the new text, ensuring CI tests pass correctly. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .github/workflows/auto-update.yml | 2 +- .github/workflows/check.yml | 2 +- .github/workflows/demo-test.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/auto-update.yml b/.github/workflows/auto-update.yml index d782c47..3094b76 100644 --- a/.github/workflows/auto-update.yml +++ b/.github/workflows/auto-update.yml @@ -83,7 +83,7 @@ jobs: name: scraping-result path: /tmp/scraping-result.txt - name: Test - run: cat /tmp/scraping-result.txt | grep -q "This domain is for use in illustrative examples in documents" + run: cat /tmp/scraping-result.txt | grep -q "This domain is for use in documentation examples" - name: Update README run: | CHROME_VERSION=${{ steps.chrome-versions.outputs.CHROME_VERSION }} diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index b8b2dde..e459524 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -30,6 +30,6 @@ jobs: - name: Invoke run: sls invoke --function demo |& tee /tmp/scraping-result.txt - name: Check - run: cat /tmp/scraping-result.txt | grep -q "This domain is for use in illustrative examples in documents" + run: cat /tmp/scraping-result.txt | grep -q "This domain is for use in documentation examples" - name: Clean up (ECR costs) run: sls remove diff --git a/.github/workflows/demo-test.yml b/.github/workflows/demo-test.yml index ea880eb..316a1f2 100644 --- a/.github/workflows/demo-test.yml +++ b/.github/workflows/demo-test.yml @@ -31,4 +31,4 @@ jobs: sls create --template-url "https://github.com/umihico/docker-selenium-lambda/tree/main" --path docker-selenium-lambda && cd $_ sls deploy sls invoke --function demo |& tee /tmp/scraping-result.txt - cat /tmp/scraping-result.txt | grep -q "This domain is for use in illustrative examples in documents" + cat /tmp/scraping-result.txt | grep -q "This domain is for use in documentation examples"