diff --git a/.github/workflows/purge.yml b/.github/workflows/purge.yml new file mode 100644 index 0000000000..2fc0372cf9 --- /dev/null +++ b/.github/workflows/purge.yml @@ -0,0 +1,23 @@ +name: Manual Purge +on: + workflow_dispatch: + +jobs: + sweepers: + runs-on: ubuntu-latest + steps: + # Checkout should always be before setup-go to ensure caching is working + - name: Checkout + uses: actions/checkout@v4 + - name: Install Go + uses: actions/setup-go@v5 + with: + go-version: 1.24 + - name: Run Sweepers + run: go run -v ./cmd/scw-sweeper + env: + SCW_DEBUG: 1 + SCW_ACCESS_KEY: ${{ secrets.SCW_ACCESS_KEY }} + SCW_SECRET_KEY: ${{ secrets.SCW_SECRET_KEY }} + SCW_DEFAULT_ORGANIZATION_ID: ${{ secrets.SCW_DEFAULT_ORGANIZATION_ID }} + SCW_DEFAULT_PROJECT_ID: ${{ secrets.SCW_DEFAULT_PROJECT_ID }}