Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Add action to clean packages #4759

Merged
merged 3 commits into from
Jan 13, 2025
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/clean_packages.yml
brandstetterm marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
name: Remove old unused scrumlr packages

on:
schedule:
- cron: "0 7 * * 1-5" # every monday through friday at 7 am
Schwehn42 marked this conversation as resolved.
Show resolved Hide resolved

jobs:
clean_scrumlr_server_packages:
name: "clean scrumlr server packages"
runs-on: ubuntu-latest
steps:
- uses: actions/delete-package-versions@v5
with:
package-name: "scrumlr.io/scrumlr-server"
package-type: "container"
min-versions-to-keep: 256
delete-only-untagged-versions: "true"

clean_scrumlr_frontend_packages:
name: "clean scrumlr frontend packages"
runs-on: ubuntu-latest
steps:
- uses: actions/delete-package-versions@v5
with:
package-name: "scrumlr.io/scrumlr-frontend"
package-type: "container"
min-versions-to-keep: 256
delete-only-untagged-versions: "true"
Loading