Cleanup Test Workers #378
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
| name: Cleanup Test Workers | |
| on: | |
| schedule: | |
| # Runs every 15 minutes | |
| - cron: "*/15 * * * *" | |
| workflow_dispatch: | |
| jobs: | |
| cleanup: | |
| name: Cleanup Cloudflare Workers | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Run cleanup script | |
| env: | |
| CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} | |
| CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} | |
| run: ./scripts/cleanup-test-workers.sh |