Skip to content

Commit

Permalink
Add GitHub Action for Remove old artifacts (rehlds#230)
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
SergeyShorokhov authored Nov 1, 2021
1 parent 8534224 commit 3d97cf4
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/remove-old-artifacts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
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/[email protected]
with:
age: '1 month'
skip-tags: true
skip-recent: 4

0 comments on commit 3d97cf4

Please sign in to comment.