name: 'Delete old artifacts'
on:
  schedule:
    - cron: '0 * * * *' # every hour

jobs:
  delete-artifacts:
    runs-on: ubuntu-latest
    steps:
      - uses: kolpav/purge-artifacts-action@v1
        with:
          token: ${{ secrets.GITHUB_TOKEN }}
          expire-in: 7days


Add a job to delete old artifacts
github: Add a job to delete old artifacts

We remove the older than 7 days as it is no sense to store them forever.

Signed-off-by: Otavio Salvador <1d31b11c1b92bf5d043d36edfe7174db39a6b891@ossystems.com.br>
