Skip to content

Update samples data #34

Update samples data

Update samples data #34

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@v3
- name: Checkout sp-dev-fx-aces
uses: actions/checkout@v3
with:
repository: pnp/sp-dev-fx-aces
path: sp-dev-fx-aces
- name: Checkout sp-dev-fx-library-components
uses: actions/checkout@v3
with:
repository: pnp/sp-dev-fx-extensions
path: sp-dev-fx-extensions
- name: Checkout sp-dev-fx-library-components
uses: actions/checkout@v3
with:
repository: pnp/sp-dev-fx-library-components
path: sp-dev-fx-library-components
- name: Checkout sp-dev-fx-webparts
uses: actions/checkout@v3
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.
...