mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-09-13 07:22:35 +03:00
Allow to run dependabot-uv-lock manually
This commit is contained in:
parent
9ebbdfc4e9
commit
17db4ff25c
4
.github/workflows/dependabot-uv-lock.yml
vendored
4
.github/workflows/dependabot-uv-lock.yml
vendored
|
@ -4,6 +4,8 @@ on:
|
|||
pull_request:
|
||||
paths:
|
||||
- "pyproject.toml"
|
||||
# Manual trigger
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
@ -11,7 +13,7 @@ permissions:
|
|||
|
||||
jobs:
|
||||
lock:
|
||||
if: ${{ github.actor == 'dependabot[bot]' }}
|
||||
if: ${{ github.event_name == 'workflow_dispatch' || github.actor == 'dependabot[bot]' }}
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
GH_PAT: ${{ secrets.GH_PAT }}
|
||||
|
|
Loading…
Reference in New Issue
Block a user