Skip to content

Commit

Permalink
ci: Auto-merge PRs from within repo even if I'm the triggering actor
Browse files Browse the repository at this point in the history
  • Loading branch information
Pr0methean committed May 17, 2024
1 parent 6fa4486 commit a8b2855
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/auto_merge_prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a8b2855

Please sign in to comment.