mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-09-13 15:32:36 +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:
|
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 }}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user