mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-06 05:00:18 +03:00
Only run uv lock workflow when GH_PAT is set
This commit is contained in:
parent
e5416be7a3
commit
15556a07f5
4
.github/workflows/dependabot-uv-lock.yml
vendored
4
.github/workflows/dependabot-uv-lock.yml
vendored
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user