From 9b7aab1fc73e7bb223f1f96023d8790216d425cb Mon Sep 17 00:00:00 2001 From: Larvan2 <78135608+Larvan2@users.noreply.github.com> Date: Thu, 30 Mar 2023 16:04:09 +0000 Subject: [PATCH] chore: rename delete.yml --- .github/workflows/delete.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/delete.yml diff --git a/.github/workflows/delete.yml b/.github/workflows/delete.yml new file mode 100644 index 00000000..31f4a265 --- /dev/null +++ b/.github/workflows/delete.yml @@ -0,0 +1,16 @@ +name: Delete old workflow runs +on: + schedule: + - cron: '0 0 1 * *' +# Run monthly, at 00:00 on the 1st day of month. + +jobs: + del_runs: + runs-on: ubuntu-latest + steps: + - name: Delete workflow runs + uses: GitRML/delete-workflow-runs@main + with: + token: ${{ secrets.AUTH_PAT }} + repository: ${{ github.repository }} + retain_days: 30 \ No newline at end of file