Skip to content

Commit

Permalink
GH actions: purge-expired-artifacts.yml (#4565)
Browse files Browse the repository at this point in the history
  • Loading branch information
juergba authored Feb 3, 2021
1 parent 1a05ad7 commit 3c2f82f
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/purge-expired-artifacts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Deletes expired artifacts, which are not removed automatically by github.

name: 'Purge expired artifacts'

on:
schedule:
- cron: '0 1 * * *'

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
purge-artifacts:
runs-on: ubuntu-latest
steps:
- uses: LKP-RnD/purge-expired-artifacts-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
repo_to_purge: "mochajs/mocha"
dry_run: "false"

0 comments on commit 3c2f82f

Please sign in to comment.