ci: Auto-merge PRs from within repo even if I'm the triggering actor

This commit is contained in:
Chris Hennick 2024-05-16 21:01:00 -07:00
parent 6fa4486089
commit a8b2855910
No known key found for this signature in database
GPG key ID: DA47AABA4961C509

View file

@ -8,7 +8,9 @@ permissions:
jobs:
auto-merge:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' || github.actor == 'github-actions' }}
if: |
${{ github.actor == 'dependabot[bot]' || github.actor == 'github-actions' || ( github.actor == 'Pr0methean'
&& github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name )}}
steps:
- name: Dependabot metadata
id: metadata