Trigger align versions if PR author is pyup or dependabot

This commit is contained in:
Bruno Alla 2025-08-29 09:24:45 +01:00
parent e991f1224a
commit 95ad69ad68

View File

@ -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 }}