Update condition to restrict on GitHub actor

This commit is contained in:
Bruno Alla 2025-04-04 13:55:04 +01:00
parent 0b777339ff
commit b92e179134

View File

@ -14,7 +14,7 @@ permissions:
jobs:
run:
if: github.repository_owner == 'cookiecutter'
if: ${{ github.actor == 'pyup-bot' }}
runs-on: ubuntu-latest
env:
GH_PAT: ${{ secrets.GH_PAT }}