From c3d4191708ae0b45ef0fcc72203d7738146ba008 Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Sun, 6 Oct 2019 19:48:11 +0300 Subject: [PATCH] Update auto-approve.yml --- .github/workflows/auto-approve.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/auto-approve.yml b/.github/workflows/auto-approve.yml index e3bd85ca13..de38a264b4 100644 --- a/.github/workflows/auto-approve.yml +++ b/.github/workflows/auto-approve.yml @@ -2,13 +2,13 @@ name: auto-approve on: push: branches: - - dev + - master jobs: build: runs-on: ubuntu-latest steps: - uses: hmarr/auto-approve-action@v2.0.0 - if: github.head_ref == 'create-pull-request/patch' + if: github.actor == 'github-actions' with: github-token: "${{ secrets.GITHUB_TOKEN }}"