Skip to content

Commit 280b7c4

Browse files
authored
Fix regexp escaping (#39)
Escape `.` to `\\.`
1 parent 80d1efa commit 280b7c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/2-add-a-dockerfile.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
uses: skills/action-check-file@v1
6262
with:
6363
file: "Dockerfile"
64-
search: "FROM nginx:1.24-alpine"
64+
search: "FROM nginx:1\\.24-alpine"
6565

6666
# In README.md, switch step 2 for step 3.
6767
- name: Update to step 3

0 commit comments

Comments
 (0)