From 4cd9f51b566257aea1d0b547ccbc72a621397745 Mon Sep 17 00:00:00 2001 From: KastTrifork Date: Wed, 29 Nov 2023 16:20:06 +0100 Subject: [PATCH] Only run if actor is cheetahbot --- .github/workflows/auto-merge.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/auto-merge.yml b/.github/workflows/auto-merge.yml index b645adf5..e17d69c9 100644 --- a/.github/workflows/auto-merge.yml +++ b/.github/workflows/auto-merge.yml @@ -10,6 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - name: automerge for pull request + if: ${{ github.actor == 'cheetahbot' }} uses: peter-evans/enable-pull-request-automerge@v3 with: pull-request-number: ${{ github.event.pull_request.number }}