Skip to content

Commit

Permalink
Replace GHCR_PR_TOKEN with GITHUB_TOKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
aali309 committed Sep 15, 2023
1 parent 8da195b commit afd9a36
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/image-cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
jobs:
delete-images:
runs-on: ubuntu-latest
permissions:
pull-requests: write
if: github.repository_owner == 'cryostatio'
strategy:
matrix:
Expand All @@ -17,7 +19,7 @@ jobs:
with:
owner: ${{ github.repository_owner }}
name: ${{ matrix.image }}
token: ${{ secrets.GHCR_PR_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
ignore-missing-package: true
tag-regex: pr-${{ github.event.number }}-.*
tagged-keep-latest: 0

0 comments on commit afd9a36

Please sign in to comment.