diff --git a/.github/workflows/janitor.yaml b/.github/workflows/janitor.yaml index 4a956143..76da13e6 100644 --- a/.github/workflows/janitor.yaml +++ b/.github/workflows/janitor.yaml @@ -6,7 +6,7 @@ on: workflow_dispatch: jobs: - janitor: + azure-janitor: name: azure-janitor runs-on: ubuntu-latest steps: @@ -18,4 +18,18 @@ jobs: client-id: ${{ secrets.AZURE_CLIENT_ID}} client-secret: ${{ secrets.AZURE_CLIENT_SECRET}} tenant-id: ${{ secrets.AZURE_TENANT_ID}} - commit: true \ No newline at end of file + commit: true + aws-janitor: + if: success() || failure() + name: aws-janitor + runs-on: ubuntu-latest + env: + AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + steps: + - name: Cleanup + uses: rancher-sandbox/aws-janitor@v0.1.0 + with: + regions: eu-west-2 + commit: true + ignore-tag: janitor-ignore