Skip to content

Commit

Permalink
CORE-34 Storage cleanup actions (DEVELOPEST#58)
Browse files Browse the repository at this point in the history
Squashed commit of the following:

commit 781cb17
Author: tavo <[email protected]>
Date:   Mon Feb 8 21:10:49 2021 +0200

    Artifacts cleanup action
  • Loading branch information
kilpkonn committed Feb 8, 2021
1 parent cb4f77f commit 8607aec
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/remove-old-artifacts.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Remove old artifacts

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

jobs:
remove-old-artifacts:
runs-on: ubuntu-latest
timeout-minutes: 10

steps:
- name: Remove old artifacts
uses: c-hive/gha-remove-artifacts@v1
with:
age: '1 week'
# Optional inputs
skip-tags: true
skip-recent: 3

0 comments on commit 8607aec

Please sign in to comment.