refactor: sync files with beam-community/common-config #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file is synced with beam-community/common-config. Any changes will be overwritten. | |
name: PR | |
on: | |
merge_group: | |
pull_request: | |
types: | |
- edited | |
- opened | |
- reopened | |
- synchronize | |
jobs: | |
Title: | |
if: ${{ github.event_name == 'pull_request' }} | |
name: Check Title | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check | |
uses: stordco/[email protected] | |
with: | |
regex: '^(refactor!|feat!|fix!|refactor|fix|feat|chore)(\(\w+\))?:\s(\[#\d{1,5}\])?.*$' | |
hint: | | |
Your PR title does not match the Conventional Commits convention. Please rename your PR to match one of the following formats: | |
fix: [#123] some title of the PR | |
fix(scope): [#123] some title of the PR | |
feat: [#1234] some title of the PR | |
chore: update some action | |
Note: Adding ! (i.e. `feat!:`) represents a breaking change and will result in a SemVer major release. | |
Please use one of the following types: | |
- **feat:** A new feature, resulting in a MINOR version bump." | |
- **fix:** A bug fix, resulting in a PATCH version bump." | |
- **refactor:** A code change that neither fixes a bug nor adds a feature, resulting in a PATCH version bump." | |
- **chore:** Changes unrelated to the release code, resulting in no version bump." | |
- **revert:** Reverts a previous commit." | |
See https://www.conventionalcommits.org/en/v1.0.0/ for more information. |