Skip to content

Commit

Permalink
Create remove-old-artifacts.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gchoqueux authored Dec 16, 2020
1 parent 7c128ab commit 617326c
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/remove-old-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: 0days # Setting this to 0 will delete all artifacts

0 comments on commit 617326c

Please sign in to comment.