udondan/iam-floyd

View on GitHub
.github/workflows/remove-old-artifacts.yml

Summary

Maintainability
Test Coverage
name: Remove old artifacts

on:
  schedule:
    # Every day at 1am
    - cron: 0 1 * * *
  workflow_dispatch:

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