Allow to run dependabot-uv-lock manually

This commit is contained in:
Bruno Alla 2025-09-09 21:05:06 +01:00
parent 9ebbdfc4e9
commit 17db4ff25c

View File

@ -4,6 +4,8 @@ on:
pull_request: pull_request:
paths: paths:
- "pyproject.toml" - "pyproject.toml"
# Manual trigger
workflow_dispatch:
permissions: permissions:
contents: write contents: write
@ -11,7 +13,7 @@ permissions:
jobs: jobs:
lock: lock:
if: ${{ github.actor == 'dependabot[bot]' }} if: ${{ github.event_name == 'workflow_dispatch' || github.actor == 'dependabot[bot]' }}
runs-on: ubuntu-latest runs-on: ubuntu-latest
env: env:
GH_PAT: ${{ secrets.GH_PAT }} GH_PAT: ${{ secrets.GH_PAT }}