We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 583e7ce commit 2cb2515Copy full SHA for 2cb2515
.github/workflows/cleanup-old-packages.yml
@@ -0,0 +1,24 @@
1
+# This workflow uses actions that are not certified by GitHub. They are provided
2
+# by a third-party and are governed by separate terms of service, privacy
3
+# policy, and support documentation.
4
+
5
+name: Clean up old packages
6
+on:
7
+ schedule:
8
+ - cron: '00 05 * * *'
9
+ push:
10
+ branches: [ "master" ]
11
12
+jobs:
13
+ clean-up-old-packages:
14
+ runs-on: ubuntu-latest
15
+ permissions:
16
+ contents: read
17
+ packages: write
18
+ steps:
19
+ - uses: actions/delete-package-versions@e5bc658cc4c965c472efe991f8beea3981499c55 # v5.0.0
20
+ with:
21
+ package-name: 'lychee'
22
+ package-type: 'container'
23
+ min-versions-to-keep: 10
24
+ delete-only-untagged-versions: 'true'
0 commit comments