From 95ad69ad68ddd7d55f487983a2d30c69796aee73 Mon Sep 17 00:00:00 2001 From: Bruno Alla Date: Fri, 29 Aug 2025 09:24:45 +0100 Subject: [PATCH] Trigger align versions if PR author is pyup or dependabot --- .github/workflows/align-versions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/align-versions.yml b/.github/workflows/align-versions.yml index d6dbb5f0f..ad058d7ef 100644 --- a/.github/workflows/align-versions.yml +++ b/.github/workflows/align-versions.yml @@ -14,7 +14,7 @@ permissions: jobs: run: - if: ${{ github.event_name == 'workflow_dispatch' || github.actor == 'pyup-bot' || 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 }}