Skip to content

Commit 3c2f82f

Browse files
authored
GH actions: purge-expired-artifacts.yml (#4565)
1 parent 1a05ad7 commit 3c2f82f

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Deletes expired artifacts, which are not removed automatically by github.
2+
3+
name: 'Purge expired artifacts'
4+
5+
on:
6+
schedule:
7+
- cron: '0 1 * * *'
8+
9+
# Allows you to run this workflow manually from the Actions tab
10+
workflow_dispatch:
11+
12+
jobs:
13+
purge-artifacts:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: LKP-RnD/purge-expired-artifacts-action@v4
17+
with:
18+
token: ${{ secrets.GITHUB_TOKEN }}
19+
repo_to_purge: "mochajs/mocha"
20+
dry_run: "false"

0 commit comments

Comments
 (0)