Skip to content

Commit

Permalink
Only run uv lock workflow when GH_PAT is set
Browse files Browse the repository at this point in the history
  • Loading branch information
browniebroke committed Oct 3, 2024
1 parent 7aa9d06 commit c7671a6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/dependabot-uv-lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit c7671a6

Please sign in to comment.