mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-09-20 10:52:34 +03:00
Run uv lock workflow based on the PR author
This commit is contained in:
parent
2a011fb654
commit
b616fe854b
2
.github/workflows/dependabot-uv-lock.yml
vendored
2
.github/workflows/dependabot-uv-lock.yml
vendored
|
@ -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 }}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user