Fix auto-approve workflow

This commit is contained in:
Jordan Dominion
2023-06-26 20:13:11 -04:00
parent 4d00c5c7c7
commit 898570df29
@@ -16,7 +16,7 @@ concurrency:
jobs:
approve-pr-if-dominion-is-author:
name: Approve PR if Dominion is Author
if: github.event.pull_request.user.login == 'Cyberboss' && !(github.event.pull_request.draft || github.event.pull_request.body.contains('- [ ]')) && (github.event.pull_request.base.repo.owner.login == 'tgstation' || github.event.pull_request.base.repo.owner.login == 'Cyberboss')
if: github.event.pull_request.user.login == 'Cyberboss' && !github.event.pull_request.draft && !github.event.pull_request.body.contains('- [ ]') && (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