From 2eca466e419871d30e0a92607dcdec0b94b6f7d2 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Mon, 25 Aug 2025 07:52:43 +0200 Subject: [PATCH] feat: block feats Signed-off-by: Christoph Wurst --- .github/workflows/block-unconventional-commits.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/block-unconventional-commits.yml b/.github/workflows/block-unconventional-commits.yml index b4239109cd..b3477b2c04 100644 --- a/.github/workflows/block-unconventional-commits.yml +++ b/.github/workflows/block-unconventional-commits.yml @@ -30,5 +30,12 @@ jobs: uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - uses: webiny/action-conventional-commits@8bc41ff4e7d423d56fa4905f6ff79209a78776c7 # v1.3.0 + if: ${{ github.base_ref == 'main' }} with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + - uses: webiny/action-conventional-commits@8bc41ff4e7d423d56fa4905f6ff79209a78776c7 # v1.3.0 + if: ${{ github.base_ref != 'main' }} + with: + allowed-commit-types: "fix,docs,style,refactor,test,build,perf,ci,chore,revert,merge" # Anything but "feat" https://github.com/webiny/action-conventional-commits/blob/8bc41ff4e7d423d56fa4905f6ff79209a78776c7/action.yml#L9C15-L9C85 + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}