Skip to content

Commit ad5366b

Browse files
committed
remove conventional pr check
1 parent c98ba84 commit ad5366b

File tree

1 file changed

+0
-68
lines changed

1 file changed

+0
-68
lines changed

.github/workflows/pr-check.yml

Lines changed: 0 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -13,74 +13,6 @@ jobs:
1313
pull-requests: write
1414

1515
steps:
16-
- name: Conventional PR Check
17-
uses: amannn/action-semantic-pull-request@v5
18-
id: pr-convention
19-
env:
20-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21-
with:
22-
# Types allowed (newline-delimited).
23-
# Default: https://github.com/commitizen/conventional-commit-types
24-
types: |
25-
build
26-
ci
27-
docs
28-
feat
29-
fix
30-
perf
31-
refactor
32-
test
33-
chore
34-
# Scopes allowed (newline-delimited).
35-
scopes: |
36-
core
37-
python
38-
k8s
39-
coordinator
40-
one
41-
interactive
42-
insight
43-
analytical
44-
learning
45-
flex
46-
# A scope can be not provided.
47-
requireScope: false
48-
disallowScopes: |
49-
release
50-
[A-Z]+
51-
# If the PR contains one of these newline-delimited labels, the
52-
# validation is skipped.
53-
ignoreLabels: |
54-
bot
55-
ignore-semantic-pull-request
56-
57-
- name: Comments if PR Title is not conventional
58-
id: lint_pr_title
59-
uses: marocchino/sticky-pull-request-comment@v2
60-
# When the previous steps fails, the workflow would stop. By adding this
61-
# condition you can continue the execution with the populated error message.
62-
if: always() && (steps.pr-convention.outputs.error_message != null)
63-
with:
64-
header: pr-title-lint-error
65-
message: |
66-
Hey there and thank you for opening this pull request! 👋🏼
67-
68-
We require pull request titles to follow the [Conventional Commits specification](https://www.conventionalcommits.org/en/v1.0.0/) \
69-
and it looks like your proposed title needs to be adjusted.
70-
71-
Details:
72-
```
73-
${{ steps.pr-convention.outputs.error_message }}
74-
```
75-
76-
77-
# Delete a previous comment when the issue has been resolved
78-
- name: Delete Comment if PR Title is conventional
79-
if: ${{ steps.lint_pr_title.outputs.error_message == null }}
80-
uses: marocchino/sticky-pull-request-comment@v2
81-
with:
82-
header: pr-title-lint-error
83-
delete: true
8416

8517
- name: Checkout Code
8618
uses: actions/checkout@v4

0 commit comments

Comments
 (0)