From b05bcc7e9d69fd5c1c4f5dec3aa5608dbf54817a Mon Sep 17 00:00:00 2001 From: Marco Comi <9998393+kin0992@users.noreply.github.com> Date: Thu, 14 Mar 2024 10:53:29 +0100 Subject: [PATCH] Add condition on job check_pr_title (#746) Now the job is skipped on PRs created by changeset --- .github/workflows/check_pr_title.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/check_pr_title.yaml b/.github/workflows/check_pr_title.yaml index 4328da8b46..d71505e6d2 100644 --- a/.github/workflows/check_pr_title.yaml +++ b/.github/workflows/check_pr_title.yaml @@ -9,6 +9,8 @@ on: jobs: check_pr_title: + # Execute this job only if the head branch is not the one created by changeset + if: ${{ github.head_ref }} != 'changeset-release/main' name: Check PR title runs-on: ubuntu-latest