From 84bfda6e89def383a9c2d60675317ba283b05cd2 Mon Sep 17 00:00:00 2001 From: Shunsuke Suzuki Date: Thu, 16 Apr 2026 19:35:09 +0900 Subject: [PATCH] Revert "test notify-bot-pr-event-action (#358)" This reverts commit 5eac6fe3a808a472c3a13f6b674a3493c5fc88e4. --- .github/workflows/test.yaml | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index ea9c0f95..0c2b034e 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -1,20 +1,12 @@ --- name: test -on: - pull_request: - types: [closed] - pull_request_review: - types: [submitted] +on: pull_request jobs: test: - if: | - endsWith(github.event.pull_request.user.login, '[bot]') && - ((github.event_name == 'pull_request_review' && github.event.review.state == 'approved') || - github.event_name == 'pull_request') runs-on: ubuntu-24.04 timeout-minutes: 15 - permissions: - pull-requests: write - contents: read + permissions: {} steps: - - uses: suzuki-shunsuke/notify-bot-pr-event-action@pr/1 + - run: echo "$PAYLOAD" + env: + PAYLOAD: ${{ toJson(github.event) }}