From 39fe9a3e29190c0a0cb8873bc3d2197a39892855 Mon Sep 17 00:00:00 2001 From: "Aaron (\"AJ\") Steers" Date: Fri, 9 Aug 2024 20:10:14 -0700 Subject: [PATCH] CI: Skip PR title checks on draft PRs (#337) --- .github/workflows/semantic_pr_check.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/semantic_pr_check.yml b/.github/workflows/semantic_pr_check.yml index bd01b877..1cdb7868 100644 --- a/.github/workflows/semantic_pr_check.yml +++ b/.github/workflows/semantic_pr_check.yml @@ -1,11 +1,12 @@ name: "Verify Semantic PR Title" on: - pull_request_target: + pull_request: types: - opened - edited - synchronize + - ready_for_review env: AIRBYTE_ANALYTICS_ID: ${{ vars.AIRBYTE_ANALYTICS_ID }} @@ -19,6 +20,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: amannn/action-semantic-pull-request@v5 + if: ${{ github.event.pull_request.draft == false }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: