From 6c751460326f1d7df003d466dc54876434f46162 Mon Sep 17 00:00:00 2001 From: Jason Dent Date: Wed, 29 Jan 2025 09:28:15 +0000 Subject: [PATCH] chore: Support forced integration update. --- .github/workflows/update-dictionaries.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-dictionaries.yml b/.github/workflows/update-dictionaries.yml index c14395363bd7..b5340fd09a1c 100644 --- a/.github/workflows/update-dictionaries.yml +++ b/.github/workflows/update-dictionaries.yml @@ -6,7 +6,12 @@ on: base: description: The Base Ref to apply the diff required: false - default: 'main' + default: main + force: + description: Force the update of integration snapshots even if the dictionaries are not updated. + required: false + default: false + type: boolean schedule: - cron: '0 7 * * *' @@ -17,6 +22,7 @@ permissions: env: NEW_BRANCH: "update-dictionaries-${{ inputs.base || 'main' }}" REF_BRANCH: ${{ inputs.base || 'main' }} + NODE_VERSION: '22.x' jobs: calc-ref: @@ -119,7 +125,7 @@ jobs: patch: ${{ needs.check-dictionaries.outputs.patch }} integrations: - if: ${{ needs.check-dictionaries.outputs.patch }} + if: ${{ inputs.force || needs.check-dictionaries.outputs.patch }} runs-on: ubuntu-latest needs: - load-integrations @@ -158,6 +164,7 @@ jobs: run: corepack enable - name: Patch + if: ${{ env.PATCH }} run: | echo "$PATCH" | git apply