From 00c17d5cf270f9ac4af68dc953a8b4b3cba73861 Mon Sep 17 00:00:00 2001 From: Lucas Lopes Date: Fri, 22 Sep 2023 17:35:49 -0300 Subject: [PATCH] Adding job conditional --- .github/workflows/tasks-check.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/tasks-check.yaml b/.github/workflows/tasks-check.yaml index 348011cd0..60d0eb42c 100644 --- a/.github/workflows/tasks-check.yaml +++ b/.github/workflows/tasks-check.yaml @@ -5,12 +5,10 @@ on: types: - submitted - approved - branches: - - dev-v* - - release-v* jobs: checkbox-check: + if: startsWith(github.event.pull_request.base.ref, 'dev-v') || startsWith(github.event.pull_request.base.ref, 'release-v') runs-on: ubuntu-latest steps: - name: Check checkboxes