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"