From 3298f8046a197ecd568f29302b00c2705b4d7ba4 Mon Sep 17 00:00:00 2001 From: Vadym Date: Wed, 11 Sep 2024 12:14:30 +0200 Subject: [PATCH] build(GithubAction): run custom workflows only on main --- .github/workflows/check-pr-title.yml | 2 ++ .github/workflows/update-pr-description.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/check-pr-title.yml b/.github/workflows/check-pr-title.yml index de02ae02e..9152a2fbf 100644 --- a/.github/workflows/check-pr-title.yml +++ b/.github/workflows/check-pr-title.yml @@ -2,6 +2,8 @@ name: Check PR Title for Conventional Commits Format on: pull_request: types: [ opened, edited, synchronize ] + branches: + - main jobs: check-for-cc: runs-on: ubuntu-latest diff --git a/.github/workflows/update-pr-description.yml b/.github/workflows/update-pr-description.yml index 4d77e5cb4..fe158d3b5 100644 --- a/.github/workflows/update-pr-description.yml +++ b/.github/workflows/update-pr-description.yml @@ -2,6 +2,8 @@ name: Update PR Description on: pull_request: types: [opened] + branches: + - main jobs: update-description: runs-on: ubuntu-latest