From 558d25078a44f26d16793163903c0ab000396407 Mon Sep 17 00:00:00 2001 From: TAKAI Tomonari Date: Tue, 19 Mar 2024 07:44:56 +0900 Subject: [PATCH] Add alerts pull request template (#18) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add alerts pull request template https://docs.github.com/ja/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#alerts * GitHubワークフローに自動承認を追加 --- .github/workflows/auto-approve.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/auto-approve.yaml diff --git a/.github/workflows/auto-approve.yaml b/.github/workflows/auto-approve.yaml new file mode 100644 index 0000000..cb80a8b --- /dev/null +++ b/.github/workflows/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