This repository was archived by the owner on Aug 12, 2025. It is now read-only.
Cleanup #11414
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 | |
on: | |
schedule: | |
- cron: "0 */2 * * *" # TODO: Run every 4 hours to soak test, should be less frequent before merge (weekly/daily/???) | |
workflow_dispatch: | |
jobs: | |
cleanup: | |
name: Cleanup any orphaned CI Resources | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version-file: "./go.mod" | |
- name: Run the cleanup tool | |
run: go run ./cmd/ci-clean | |
env: | |
PACKET_API_KEY: ${{ secrets.PACKET_API_TOKEN }} | |
PROJECT_ID: ${{ secrets.PROJECT_ID }} |