Update Recommendation Object on Pull Request #19
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: Nightly Recommendation Object Build | |
on: | |
schedule: | |
- cron: "0 0 * * *" | |
permissions: | |
contents: write | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/[email protected] | |
with: | |
ref: main | |
- name: Run Recommendation Object Builder | |
run: | | |
pwsh .github/scripts/build-recommendation-object.ps1 | |
- name: Commit and push changes | |
run: | | |
git config --global user.name 'github-actions[bot]' | |
git config --global user.email 'github-actions[bot]@users.noreply.github.com' | |
git add ./tools/data/recommendations.json | |
git commit -m "Update recommendations.json" | |
git push |