Work around PAT existence check

This commit is contained in:
BtbN 2023-03-18 14:30:26 +01:00
parent c6c7051948
commit ffa7c41e0f

View file

@ -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 }}