monitor-remote-configs #57
This file contains hidden or 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
| # A periodic workflow to test that the latest dev version is functional. | |
| # It's not a through test by any means, more like a sanity test. | |
| name: monitor-remote-configs | |
| on: | |
| # Run on commit. | |
| push: | |
| # Run every 6 hours | |
| schedule: | |
| - cron: "0 */6 * * *" | |
| # Allow manual launch | |
| workflow_dispatch: | |
| jobs: | |
| monitor: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| shell: bash | |
| steps: | |
| - name: Checkout Apio's main branch | |
| uses: actions/checkout@v4 | |
| with: | |
| ref: main | |
| - name: Set up latest Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.14" | |
| - name: Install python dependencies | |
| run: | | |
| pip install json5 requests | |
| - name: Run scripts/check_remote_configs.py | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: | | |
| python ./scripts/check_remote_configs.py |