From 3a6c65066e337a255db0c2cae7f2635584979819 Mon Sep 17 00:00:00 2001 From: Ben Straub Date: Fri, 21 Jul 2023 08:11:34 -0400 Subject: [PATCH] Update templates.yml (#2026) --- .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"