From e9b2ced7435b8c89d4bcc1947c84385f670988c0 Mon Sep 17 00:00:00 2001 From: Jonathan Basniak <740416+gm112@users.noreply.github.com> Date: Sun, 16 Nov 2025 08:16:44 -0500 Subject: [PATCH] ci: allow dependabutt to update yarn lockfile --- .github/workflows/workflow-reactjs-reusable-build.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/workflow-reactjs-reusable-build.yml b/.github/workflows/workflow-reactjs-reusable-build.yml index e8892cf..84acf84 100644 --- a/.github/workflows/workflow-reactjs-reusable-build.yml +++ b/.github/workflows/workflow-reactjs-reusable-build.yml @@ -44,10 +44,15 @@ jobs: node-version-file: .nvmrc cache: yarn - - if: ${{ steps.yarn-cache.outputs.cache-hit != 'true' }} + - if: ${{ steps.yarn-cache.outputs.cache-hit != 'true' && github.event.pull_request.user.login != 'dependabot[bot]' }} run: yarn install --immutable - - if: ${{ steps.yarn-cache.outputs.cache-hit == 'true' }} + + - name: Dependabutt Override yarn cache + if: ${{ steps.yarn-cache.outputs.cache-hit != 'true' && github.event.pull_request.user.login == 'dependabot[bot]' }} + run: yarn install + + - if: ${{ steps.yarn-cache.outputs.cache-hit == 'true' }} run: yarn install --immutable --immutable-cache - run: yarn build --mode="${{ inputs.deployment_target }}"