From b616fe854b13c87f10d04ef4761f2d30a67b6094 Mon Sep 17 00:00:00 2001 From: Bruno Alla Date: Tue, 9 Sep 2025 21:09:30 +0100 Subject: [PATCH] Run uv lock workflow based on the PR author --- .github/workflows/dependabot-uv-lock.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dependabot-uv-lock.yml b/.github/workflows/dependabot-uv-lock.yml index 79445a0d0..8edf5fb2d 100644 --- a/.github/workflows/dependabot-uv-lock.yml +++ b/.github/workflows/dependabot-uv-lock.yml @@ -13,7 +13,7 @@ permissions: jobs: lock: - if: ${{ github.event_name == 'workflow_dispatch' || github.actor == 'dependabot[bot]' }} + if: ${{ github.event_name == 'workflow_dispatch' || github.event_name == 'pull_request' && (github.event.pull_request.user.login == 'pyup-bot' || github.event.pull_request.user.login == 'dependabot[bot]') }} runs-on: ubuntu-latest env: GH_PAT: ${{ secrets.GH_PAT }}