Skip to content

Commit 081c8c0

Browse files
committed
fix: narrow down Dockerfile drift detection
TICKET: VL-3710
1 parent 2f02521 commit 081c8c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -363,8 +363,8 @@ jobs:
363363
- name: Check Dockerfile is up to date
364364
run: |
365365
yarn update-dockerfile
366-
if ! git diff --quiet; then
366+
if ! git diff --quiet -- . ':!yarn.lock'; then
367367
echo "Dockerfile is not up to date. Please run 'yarn update-dockerfile' and commit the changes."
368-
git diff
368+
git diff -- . ':!yarn.lock'
369369
exit 1
370370
fi

0 commit comments

Comments
 (0)