Skip to content

Commit

Permalink
Create clean_artifacts.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AWehrhahn authored Dec 2, 2020
1 parent 262a26a commit 5e5ccb4
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/clean_artifacts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
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: 0 # Setting this to 0 will delete all artifacts

0 comments on commit 5e5ccb4

Please sign in to comment.