summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorMarie <marie@kaifa.ch>2023-09-26 03:17:28 +0200
committerGitHub <noreply@github.com>2023-09-26 03:17:28 +0200
commiteea9fd56b0a5282872749728d7024bc871179760 (patch)
tree1e807d4676bd3ba404d272eb84063aa16dca9960 /.github/workflows
parentchore: lint (diff)
downloadsharkey-eea9fd56b0a5282872749728d7024bc871179760.tar.gz
sharkey-eea9fd56b0a5282872749728d7024bc871179760.tar.bz2
sharkey-eea9fd56b0a5282872749728d7024bc871179760.zip
add(ci): clear-packages.yml
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/clear-untagged-packages.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/.github/workflows/clear-untagged-packages.yml b/.github/workflows/clear-untagged-packages.yml
new file mode 100644
index 0000000000..1dfbaff097
--- /dev/null
+++ b/.github/workflows/clear-untagged-packages.yml
@@ -0,0 +1,15 @@
+name: Remove old package versions
+
+on:
+ workflow_dispatch:
+
+jobs:
+ remove-package-versions:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/delete-package-versions@v4
+ with:
+ package-name: sharkey
+ package-type: container
+ min-versions-to-keep: 10
+ delete-only-untagged-versions: 'true'