Work around PAT existence check
This commit is contained in:
parent
c6c7051948
commit
ffa7c41e0f
1 changed files with 3 additions and 0 deletions
3
.github/workflows/clean.yml
vendored
3
.github/workflows/clean.yml
vendored
|
@ -9,8 +9,11 @@ jobs:
|
|||
cleanup:
|
||||
name: Cleanup
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
HAVE_PAT: ${{ secrets.CLEANUP_PAT != '' }}
|
||||
steps:
|
||||
- name: Cleanup
|
||||
if: ${{ env.HAVE_PAT == 'true' }}
|
||||
uses: Chizkiyahu/delete-untagged-ghcr-action@v2
|
||||
with:
|
||||
token: ${{ secrets.CLEANUP_PAT }}
|
||||
|
|
Loading…
Reference in a new issue