From 785b024938c4827c806fea171ace50061259cf29 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 f6e7b32cb7b..ec76f176e08 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: