diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 884b58d..5708998 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -2,6 +2,8 @@ name: Build and Push Docker Image on: pull_request: + schedule: + - cron: '0 15 * * 0' push: branches: - main diff --git a/Dockerfile b/Dockerfile index 1d66b42..64345bc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -47,7 +47,8 @@ RUN cd /composer && \ # These are for JavaScript linting (eslint) which this pipe doesn't use. # Leaving them triggers false positive security alerts (e.g. GHSA-673x-qfjx-j475) # since the package-lock.json references vulnerable npm packages that are never installed. -RUN rm -f /composer/vendor/magento/magento-coding-standard/package*.json +RUN rm -f /composer/vendor/magento/magento-coding-standard/package*.json \ + /composer/vendor/magento/magento-coding-standard/eslint/package*.json FROM standards-runtime