Skip to content

Commit 90653a1

Browse files
committed
update .github/workflows/automerge.yml
1 parent 0591471 commit 90653a1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/automerge.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ jobs:
3333
automerge:
3434
needs: automerge-check
3535
runs-on: ubuntu-latest
36-
if: ${{ needs.automerge-check.outputs.status == 'true' }}
36+
# The check for the user is redundant here, as this job depends on the automerge-check job,
37+
# but it prevents this job from spinning up, just to be skipped shortly after.
38+
if: github.event.pull_request.user.login == 'web3-bot' && needs.automerge-check.outputs.status == 'true'
3739
steps:
3840
- name: Wait on tests
3941
uses: lewagon/wait-on-check-action@bafe56a6863672c681c3cf671f5e10b20abf2eaa # v0.2

0 commit comments

Comments
 (0)