Skip to content

Commit

Permalink
Adding workflow to clean unfurlist GHCR manually (#18)
Browse files Browse the repository at this point in the history
It will be done automatically every month once we validate that it works as expected.

Part of: Doist/platform-backlog#559
  • Loading branch information
lfacchinelli authored Mar 22, 2024
1 parent 628b316 commit e29490f
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/ghcr-cleanup.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: GHCR automatic clean up

on: workflow_dispatch


jobs:
ghcr-cleanup-job:
name: GHCR clean up
runs-on: ubuntu-latest
steps:
- name: GHCR scan and clean up
uses: Doist/actions/ghcr-cleanup-action/action.yml@main
with:
package_name: unfurlist
gh_auth_token: ${{ secrets.GH_PACKAGES_TOKEN }}
keep_last_number: '2'
dry_run: true

0 comments on commit e29490f

Please sign in to comment.