Update samples data #36
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | |
... |