Only run uv lock workflow on dependabot PRs

This commit is contained in:
Bruno Alla 2024-10-12 17:19:28 +01:00
parent b5ac15807c
commit d2db8eb20b
No known key found for this signature in database

View File

@ -11,7 +11,7 @@ permissions:
jobs:
lock:
if: github.repository_owner == 'cookiecutter'
if: ${{ github.actor == 'dependabot[bot]' }}
runs-on: ubuntu-latest
env:
GH_PAT: ${{ secrets.GH_PAT }}