Skip to content

Commit

Permalink
chore: update PR title workflow to Conventional Commit style (shopwar…
Browse files Browse the repository at this point in the history
  • Loading branch information
patzick authored Dec 19, 2024
1 parent 433c1c8 commit b36fd89
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,16 @@ Please create a second pull request at https://github.com/shopware/docs


### 4. Please link to the relevant issues (if any).
<!-- Examples:
- closes #123 - closes the issue #123 when the PR is merged
- relates #123 - relates to the issue #123
In case of issue existing only on Jira, link to the Jira issue.
- Jira issue: https://shopware.atlassian.net/browse/NEXT-123
-->

### 5. Checklist

- [ ] I have rebased my changes to remove merge conflicts
- [ ] I have written tests and verified that they fail without my change
- [ ] I have created a [changelog file](https://github.com/shopware/platform/blob/trunk/adr/2020-08-03-implement-new-changelog.md) with all necessary information about my changes
- [ ] I have written or adjusted the documentation according to my changes
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/check-pr-title.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Check PR title
# This workflow checks the PR title for semantic meaning

on:
pull_request:
types:
- opened
- reopened
- edited
- synchronize

permissions:
pull-requests: read

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: amannn/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit b36fd89

Please sign in to comment.