Skip to content

Commit 4aaaac8

Browse files
authored
ci: make updating the snapshots optional (#803)
1 parent 170dd35 commit 4aaaac8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/update-dependencies.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ on:
99
- "**/package.json"
1010
- "**/package-lock.json"
1111
workflow_dispatch:
12+
inputs:
13+
updateSnapshots:
14+
description: "Update Integration Test snapshots (true/false)"
15+
default: "true"
1216
schedule:
1317
- cron: "0 12 * * 0"
1418

@@ -39,6 +43,7 @@ jobs:
3943
run: |
4044
npm run update-packages
4145
- name: Update Integration Test Snapshots
46+
if: ${{ github.event.inputs.updateSnapshots }} == 'true'
4247
run: |
4348
npm run update-snapshots
4449
- name: Has changes

0 commit comments

Comments
 (0)