Skip to content

housekeeping

housekeeping #11699

Workflow file for this run

name: housekeeping
on:
schedule:
# hourly
- cron: '0 * * * *'
jobs:
clean-leftovers:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }}
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ vars.AWS_REGION }}
- name: Clean leftovers
uses: gradle/gradle-build-action@v2
with:
arguments: awsCleanLeftovers