From 3278ae242a99f7add0df60ceadd0d89dfde59b31 Mon Sep 17 00:00:00 2001 From: Ben Straub Date: Thu, 20 Jul 2023 17:13:29 -0400 Subject: [PATCH] Update templates.yml --- .github/workflows/templates.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/templates.yml b/.github/workflows/templates.yml index 9abed5e849..c693311d52 100644 --- a/.github/workflows/templates.yml +++ b/.github/workflows/templates.yml @@ -3,13 +3,15 @@ name: Check Templates on: workflow_dispatch: - pull_request_review: - types: [submitted] + pull_request: + branches: + - main + - devel jobs: templates: name: Check Templates uses: pharmaverse/admiralci/.github/workflows/check-templates.yml@main - if: github.event.review.state == 'approved' + if: github.event_name == 'pull_request' with: r-version: "4.1"