From c7671a688d1a510c0a193fd45b8045557a8c9e34 Mon Sep 17 00:00:00 2001 From: Bruno Alla Date: Wed, 2 Oct 2024 22:02:15 -0300 Subject: [PATCH] Only run uv lock workflow when GH_PAT is set --- .github/workflows/dependabot-uv-lock.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/dependabot-uv-lock.yml b/.github/workflows/dependabot-uv-lock.yml index f6e7b32cb7..ec76f176e0 100644 --- a/.github/workflows/dependabot-uv-lock.yml +++ b/.github/workflows/dependabot-uv-lock.yml @@ -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: