Skip to content

Commit e29490f

Browse files
authored
Adding workflow to clean unfurlist GHCR manually (#18)
It will be done automatically every month once we validate that it works as expected. Part of: Doist/platform-backlog#559
1 parent 628b316 commit e29490f

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/ghcr-cleanup.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: GHCR automatic clean up
2+
3+
on: workflow_dispatch
4+
5+
6+
jobs:
7+
ghcr-cleanup-job:
8+
name: GHCR clean up
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: GHCR scan and clean up
12+
uses: Doist/actions/ghcr-cleanup-action/action.yml@main
13+
with:
14+
package_name: unfurlist
15+
gh_auth_token: ${{ secrets.GH_PACKAGES_TOKEN }}
16+
keep_last_number: '2'
17+
dry_run: true

0 commit comments

Comments
 (0)