Skip to content

Commit 739ad46

Browse files
Remove PR lint title
1 parent 7ff89b3 commit 739ad46

File tree

1 file changed

+0
-42
lines changed

1 file changed

+0
-42
lines changed

.github/workflows/pr-lint.yml

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -8,47 +8,6 @@ on:
88
- synchronize
99

1010
jobs:
11-
main:
12-
name: Validate PR title
13-
runs-on: ubuntu-22.04
14-
permissions:
15-
pull-requests: write
16-
steps:
17-
- uses: amannn/action-semantic-pull-request@v5
18-
id: lint_pr_title
19-
with:
20-
types: |
21-
chore
22-
docs
23-
feat
24-
fix
25-
refactor
26-
style
27-
test
28-
env:
29-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30-
- uses: marocchino/sticky-pull-request-comment@v2
31-
# When the previous steps fails, the workflow would stop. By adding this
32-
# condition you can continue the execution with the populated error message.
33-
if: always() && (steps.lint_pr_title.outputs.error_message != null)
34-
with:
35-
header: pr-title-lint-error
36-
message: |
37-
Hey there and thank you for opening this pull request! 👋🏼
38-
39-
We require pull request titles to follow the [Conventional Commits specification](https://www.conventionalcommits.org/en/v1.0.0/) and it looks like your proposed title needs to be adjusted.
40-
41-
Details:
42-
43-
> ${{ steps.lint_pr_title.outputs.error_message }}
44-
45-
# Delete a previous comment when the issue has been resolved
46-
- if: ${{ steps.lint_pr_title.outputs.error_message == null }}
47-
uses: marocchino/sticky-pull-request-comment@v2
48-
with:
49-
header: pr-title-lint-error
50-
delete: true
51-
5211
labels:
5312
runs-on: ubuntu-22.04
5413

@@ -81,7 +40,6 @@ jobs:
8140
Please also make sure the label `release-notes` is added to make sure any changes to the user interface are properly announced in changelog and release notes.
8241
comment_tag: configs
8342

84-
8543
- name: Comment DB schema change
8644
uses: thollander/actions-comment-pull-request@v2
8745
if: ${{steps.filter.outputs.db_schema == 'true'}}

0 commit comments

Comments
 (0)