From 9557879f9b06d537327c299eb7c57464a6807731 Mon Sep 17 00:00:00 2001 From: Jaisurya Nanduri Date: Thu, 22 Aug 2024 18:25:07 +0000 Subject: [PATCH] add push paths as well --- .github/workflows/pr_approval.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr_approval.yml b/.github/workflows/pr_approval.yml index bd4c6525ca3da..1ded62522cf5e 100644 --- a/.github/workflows/pr_approval.yml +++ b/.github/workflows/pr_approval.yml @@ -7,10 +7,14 @@ name: Check PR Approvals on: workflow_dispatch: pull_request: - types: - - opened - - edited branches: [ main ] + pull_request_review: + types: [submitted] + push: + paths: + - 'library/**' + - 'doc/src/challenges/' + - '.github/workflows' jobs: check-approvals: