name: upstream-drift # Detects new upstream (nesquena/hermes-webui) releases + runs the plugin # matrix against each. Posts a report; opens an issue on FAIL. # # Schedule: daily at 04:00 UTC. Also triggerable manually. # Activated once a Gitea Actions runner is registered on Svrnty infra. on: schedule: - cron: "0 4 * * *" workflow_dispatch: jobs: drift: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: python-version: "3.12" - name: Install plugin + tooling run: | python -m pip install --upgrade pip pip install -e . pytest pyyaml requests - name: Run upstream-sync matrix run: python3 scripts/upstream-sync.py --report-json drift-report.json - name: Upload report if: always() uses: actions/upload-artifact@v4 with: name: drift-report path: drift-report.json - name: Open issue on failure if: failure() run: | echo "Drift detected — would open issue here (Gitea API call). Report attached."