Skip to content

Update Recommendation Object on Pull Request #19

Update Recommendation Object on Pull Request

Update Recommendation Object on Pull Request #19

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