Skip to content

Commit 1c8ce01

Browse files
authored
ci: Allow to skip spellchecking PR title (#1147)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Chores** - Updated PR title validation workflow to skip validation based on the presence of a specific label. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 052bf57 commit 1c8ce01

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/check_pr_title.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on:
77
- reopened
88
- edited
99
- synchronize
10+
- labeled
11+
- unlabeled
1012
pull_request:
1113
paths:
1214
- '.github/workflows/check_pr_title.yml'
@@ -23,6 +25,7 @@ jobs:
2325

2426
spellcheck:
2527
runs-on: ubuntu-latest
28+
if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip check PR title') }}
2629
steps:
2730
- uses: actions/checkout@v4
2831
with:

0 commit comments

Comments
 (0)