mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-06 21:20:16 +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:
|
jobs:
|
||||||
lock:
|
lock:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
GH_PAT: ${{ secrets.GH_PAT }}
|
||||||
|
# Only run when GH_PAT is set
|
||||||
|
if: ${{ env.GH_PAT != '' }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user