Skip to content

Commit 624c95c

Browse files
Add workflow for updating AVM & Quickstart samples
1 parent 1c13c5a commit 624c95c

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/update-samples.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Update Samples
2+
3+
on:
4+
schedule:
5+
- cron: '0 0 * * SUN'
6+
workflow_dispatch:
7+
8+
jobs:
9+
main:
10+
name: Update Samples
11+
runs-on: ubuntu-latest
12+
13+
env:
14+
DOTNET_NOLOGO: true
15+
DOTNET_CLI_TELEMETRY_OPTOUT: true
16+
17+
steps:
18+
- uses: actions/checkout@v4
19+
with:
20+
fetch-depth: 0 # avoid shallow clone so nbgv can do its work.
21+
22+
- name: Update Samples
23+
run: ./scripts/UpdateSamples.ps1
24+
25+
- name: Create Pull Request
26+
uses: peter-evans/create-pull-request@v7
27+
with:
28+
committer: GitHub <[email protected]>
29+
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
30+
signoff: false
31+
branch: update-samples
32+
delete-branch: true
33+
title: |
34+
Update Quickstart & AVM Sample Links
35+
draft: false

0 commit comments

Comments
 (0)