Skip to content

Update JSON

Update JSON #120

Workflow file for this run

name: Update JSON
on:
schedule:
- cron: "0 0 * * Sun"
workflow_dispatch:
push:
paths:
- ".github/**"
jobs:
update_apps_list:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run PowerShell script
shell: pwsh
run: .github/scripts/script.ps1
- name: Commit and push changes
run: |
if ! git diff --quiet; then
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config user.name "github-actions[bot]"
git add .
git commit -m "Update install_apps.json"
git push
else
echo "::warning:: No changes to commit."
fi