Skip to content

Commit 6c75146

Browse files
committed
chore: Support forced integration update.
1 parent fe53ae2 commit 6c75146

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/update-dictionaries.yml

+9-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,12 @@ on:
66
base:
77
description: The Base Ref to apply the diff
88
required: false
9-
default: 'main'
9+
default: main
10+
force:
11+
description: Force the update of integration snapshots even if the dictionaries are not updated.
12+
required: false
13+
default: false
14+
type: boolean
1015

1116
schedule:
1217
- cron: '0 7 * * *'
@@ -17,6 +22,7 @@ permissions:
1722
env:
1823
NEW_BRANCH: "update-dictionaries-${{ inputs.base || 'main' }}"
1924
REF_BRANCH: ${{ inputs.base || 'main' }}
25+
NODE_VERSION: '22.x'
2026

2127
jobs:
2228
calc-ref:
@@ -119,7 +125,7 @@ jobs:
119125
patch: ${{ needs.check-dictionaries.outputs.patch }}
120126

121127
integrations:
122-
if: ${{ needs.check-dictionaries.outputs.patch }}
128+
if: ${{ inputs.force || needs.check-dictionaries.outputs.patch }}
123129
runs-on: ubuntu-latest
124130
needs:
125131
- load-integrations
@@ -158,6 +164,7 @@ jobs:
158164
run: corepack enable
159165

160166
- name: Patch
167+
if: ${{ env.PATCH }}
161168
run: |
162169
echo "$PATCH" | git apply
163170

0 commit comments

Comments
 (0)