Skip to content

chore(deps): Update rattler #2865

chore(deps): Update rattler

chore(deps): Update rattler #2865

name: Validate PR title
on:
workflow_dispatch:
merge_group:
pull_request:
types:
- opened
- edited
- reopened
- synchronize
# Allow each opened PRs to validate titles concurrently
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
permissions:
pull-requests: read # To access pull requests
jobs:
validate-pr-title:
name: Validate PR Title
runs-on: ubuntu-latest
steps:
- name: Validate PR Title
if: github.event_name != 'merge_group'
uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6.1.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
types: |
feat
fix
chore
refac
docs
test
build
ci
scopes: |
foobar # First scope is not working, dummy value
deps
requireScope: false
# Ensure subject is not empty And starts with an uppercase letter
subjectPattern: ^[A-Z].*$
subjectPatternError: |
The subject "{subject}" found in the pull request title "{title}" does not match the configured pattern.
Please ensure your PR title follows the conventional commit format, with the subject beginning with an uppercase
letter.
ignoreLabels: |
ignore-semantic-pull-request