Skip to content

Commit

Permalink
Adding checkout of doist/actions before running ghcr clean up action (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
lfacchinelli authored Mar 22, 2024
1 parent e29490f commit 4f054d5
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/ghcr-cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,21 @@ name: GHCR automatic clean up

on: workflow_dispatch


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

0 comments on commit 4f054d5

Please sign in to comment.