From 280b7c4982314c53d169afee42cea8ce4e2d71da Mon Sep 17 00:00:00 2001 From: Shinsuke Higashiyama aka Cinzeng Zia <94058150+sinsukehlab@users.noreply.github.com> Date: Wed, 1 May 2024 05:30:14 +0900 Subject: [PATCH] Fix regexp escaping (#39) Escape `.` to `\\.` --- .github/workflows/2-add-a-dockerfile.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/2-add-a-dockerfile.yml b/.github/workflows/2-add-a-dockerfile.yml index a78dc2f..01d724f 100644 --- a/.github/workflows/2-add-a-dockerfile.yml +++ b/.github/workflows/2-add-a-dockerfile.yml @@ -61,7 +61,7 @@ jobs: uses: skills/action-check-file@v1 with: file: "Dockerfile" - search: "FROM nginx:1.24-alpine" + search: "FROM nginx:1\\.24-alpine" # In README.md, switch step 2 for step 3. - name: Update to step 3