Skip to content

Commit 58fff87

Browse files
committed
chore: Add wowkflow to update snapshots
1 parent 2539055 commit 58fff87

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

.github/workflows/snapshot.yml

+7-9
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
name: snapshot
22
on:
3-
workflow_dispatch :
3+
push:
4+
branches:
5+
- chore-add-snapshot-update-workflow
6+
workflow_dispatch:
47
inputs:
58
dryrun:
69
type: boolean
7-
description: Set `true` to skip commit diffs.
8-
default: false
9-
target_branch:
10-
type: string
11-
description: Target branch to use.
12-
required: true
13-
10+
description: Set `true` to skip diff commits.
11+
default: true
1412
jobs:
1513
snapshot:
1614
runs-on: ${{ matrix.os }}
@@ -26,7 +24,7 @@ jobs:
2624
with:
2725
ref: ${{ github.event.inputs.target_branch }}
2826
lfs: true
29-
27+
3028
# Build projects
3129
- uses: ./.github/actions/build
3230
- run: dotnet build -c Release samples/extensions/build

0 commit comments

Comments
 (0)