Only run uv lock workflow when GH_PAT is set

This commit is contained in:
Bruno Alla 2024-10-02 22:02:15 -03:00
parent e5416be7a3
commit 15556a07f5
No known key found for this signature in database

View File

@ -12,6 +12,10 @@ permissions:
jobs:
lock:
runs-on: ubuntu-latest
env:
GH_PAT: ${{ secrets.GH_PAT }}
# Only run when GH_PAT is set
if: ${{ env.GH_PAT != '' }}
steps:
- uses: actions/checkout@v4
with: