From ce4a481f4839f7b0139bcfb8f76a6295e004341c Mon Sep 17 00:00:00 2001 From: Ariel Date: Wed, 22 Jan 2025 10:55:06 -0700 Subject: [PATCH] Validate on PR merge --- .github/workflows/validate.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 85ab8cc37..1d41a65e8 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -1,13 +1,14 @@ on: - pull_request_review: - types: [submitted] + pull_request: + types: + - closed permissions: contents: read jobs: validate: - if: github.event.review.state == 'approved' && github.event.pull_request.head.repo.fork == false + if: github.event.pull_request.merged == true name: Validate runs-on: ubuntu-latest env: