name: Update Trackers JSON on: workflow_dispatch: # Allow manual triggering schedule: - cron: "0 0 * * 0" # Schedule to run every Sunday at midnight UTC (optional) jobs: exodus_data: runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v4 - name: Download JSON file run: | wget -O trackers.json https://reports.exodus-privacy.eu.org/api/trackers - name: Parse JSON and create Android resource file run: | python - <> $GITHUB_ENV if [ -z "$GIT_STATUS" ]; then echo "No changes detected..." fi # Commit changes to the repo - name: Commit changes if: env.GIT_STATUS != '' run: | git config --global user.email "actions@github.com" git config --global user.name "GitHub Actions" git add . git commit -m "Automated Exodus JSON data update" git push origin master