From c0ed6b10b6de1d84f96bce8561b4990da0b01256 Mon Sep 17 00:00:00 2001 From: haruyan-hopemucci <68041476+haruyan-hopemucci@users.noreply.github.com> Date: Mon, 20 Nov 2023 23:59:36 +0900 Subject: [PATCH] chore: pr-auto-approve --- .github/workflows/pr-auto-approve.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/pr-auto-approve.yaml diff --git a/.github/workflows/pr-auto-approve.yaml b/.github/workflows/pr-auto-approve.yaml new file mode 100644 index 0000000..cb80a8b --- /dev/null +++ b/.github/workflows/pr-auto-approve.yaml @@ -0,0 +1,18 @@ +name: Auto Approve +on: + pull_request: + types: + - opened + - reopened + - synchronize + - ready_for_review +jobs: + approve: + if: | + github.event.pull_request.user.login == github.repository_owner + && ! github.event.pull_request.draft + runs-on: ubuntu-latest + permissions: + pull-requests: write + steps: + - uses: hmarr/auto-approve-action@v3