-
Notifications
You must be signed in to change notification settings - Fork 17
55 lines (45 loc) · 1.42 KB
/
update-samples.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: Update samples data
on:
workflow_dispatch:
schedule:
- cron: '0 12 * * 6'
jobs:
update:
name: "Update samples json"
runs-on: windows-latest
steps:
- name: Checkout vscode-viva
uses: actions/checkout@v4
- name: Checkout sp-dev-fx-aces
uses: actions/checkout@v4
with:
repository: pnp/sp-dev-fx-aces
path: sp-dev-fx-aces
- name: Checkout sp-dev-fx-extensions
uses: actions/checkout@v4
with:
repository: pnp/sp-dev-fx-extensions
path: sp-dev-fx-extensions
- name: Checkout sp-dev-fx-library-components
uses: actions/checkout@v4
with:
repository: pnp/sp-dev-fx-library-components
path: sp-dev-fx-library-components
- name: Checkout sp-dev-fx-webparts
uses: actions/checkout@v4
with:
repository: pnp/sp-dev-fx-webparts
path: sp-dev-fx-webparts
- run: |
dir
- run: .\scripts\prepare-sample-data.ps1 -workspacePath "${{ github.workspace }}"
shell: pwsh
continue-on-error: true
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
commit-message: Updates sample data
branch: update-sample-data
title: Sample data update
body: Automated check and update of SPFx extensions and webparts samples data and aces sample data.
...