diff --git a/.github/workflows/fix-missing-model-bot-issues.yaml b/.github/workflows/fix-missing-model-bot-issues.yaml index 007b3819..31094902 100644 --- a/.github/workflows/fix-missing-model-bot-issues.yaml +++ b/.github/workflows/fix-missing-model-bot-issues.yaml @@ -603,6 +603,10 @@ jobs: fetch-depth: 0 ref: ${{ steps.pr.outputs.pull-request-branch }} + - name: Reinstall dependencies after PR branch checkout + if: steps.pr.outputs.pull-request-number != '' + run: pnpm install --frozen-lockfile + - name: Fetch base branch for Codex review if: steps.pr.outputs.pull-request-number != '' run: git fetch --no-tags origin main diff --git a/.github/workflows/sync-models.yaml b/.github/workflows/sync-models.yaml index 5caacae4..85257f97 100644 --- a/.github/workflows/sync-models.yaml +++ b/.github/workflows/sync-models.yaml @@ -213,6 +213,10 @@ jobs: fetch-depth: 0 ref: ${{ steps.pr.outputs.pull-request-branch }} + - name: Reinstall dependencies after PR branch checkout + if: steps.pr.outputs.pull-request-number != '' + run: pnpm install --frozen-lockfile + - name: Fetch base branch for Codex review if: steps.pr.outputs.pull-request-number != '' run: git fetch --no-tags origin main