Only auto-approve my work on main or my fork

This commit is contained in:
Dominion
2023-06-09 11:22:14 -04:00
parent 8c8328567c
commit 472a1c551e
@@ -12,7 +12,7 @@ on:
jobs:
approve-pr-if-dominion-is-author:
name: Approve PR if Dominion is Author
if: github.event.pull_request.user.login == 'Cyberboss'
if: github.event.pull_request.user.login == 'Cyberboss' && (github.event.pull_request.base.repo.owner.login == 'tgstation' || && github.event.pull_request.base.repo.owner.login == 'Cyberboss')
runs-on: ubuntu-latest
steps:
- name: GitHub API Call