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:
|
cleanup:
|
||||||
name: Cleanup
|
name: Cleanup
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
HAVE_PAT: ${{ secrets.CLEANUP_PAT != '' }}
|
||||||
steps:
|
steps:
|
||||||
- name: Cleanup
|
- name: Cleanup
|
||||||
|
if: ${{ env.HAVE_PAT == 'true' }}
|
||||||
uses: Chizkiyahu/delete-untagged-ghcr-action@v2
|
uses: Chizkiyahu/delete-untagged-ghcr-action@v2
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.CLEANUP_PAT }}
|
token: ${{ secrets.CLEANUP_PAT }}
|
||||||
|
|
Loading…
Reference in a new issue