Skip to content

Commit 451e40d

Browse files
authored
ci: Disable "validate pull request" workflow for release pull requests (#3346)
The "validate pull request" workflow checks if the pull request title matches the conventional commits syntax. Unfortunately "release: version" doesn't seem to be considered as valid, so instead, we should disable the check for release pull requests.
1 parent d6d1729 commit 451e40d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/validate-pull-request.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
validate-pull-request-title:
1414
name: Validate title
1515
runs-on: ubuntu-latest
16+
if: ${{ !startsWith(github.head_ref , 'release/') }}
1617
steps:
1718
- name: Validate title
1819
# `amannn/[email protected]`

0 commit comments

Comments
 (0)