Run uv lock workflow based on the PR author

This commit is contained in:
Bruno Alla 2025-09-09 21:09:30 +01:00
parent 2a011fb654
commit b616fe854b

View File

@ -13,7 +13,7 @@ permissions:
jobs: jobs:
lock: 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 runs-on: ubuntu-latest
env: env:
GH_PAT: ${{ secrets.GH_PAT }} GH_PAT: ${{ secrets.GH_PAT }}