Skip to content

enhancement(mqtt source): support end-to-end acknowledgements #36664

enhancement(mqtt source): support end-to-end acknowledgements

enhancement(mqtt source): support end-to-end acknowledgements #36664

Workflow file for this run

# Validates PR titles against the Conventional Commits spec.
# See: https://www.conventionalcommits.org/en/v1.0.0/
name: "PR Title Check"
on:
pull_request:
types: [opened, edited, synchronize]
permissions:
contents: read
jobs:
check:
name: Check PR Title
runs-on: ubuntu-24.04
steps:
- name: Validate conventional commit format
env:
PR_TITLE: ${{ github.event.pull_request.title }}
run: |
pattern='^(feat|fix|docs|chore|revert|enhancement|perf|security)(\([a-zA-Z0-9_, -]+\))?!?: .+'
if ! echo "$PR_TITLE" | grep -qP "$pattern"; then
echo "PR title does not follow Conventional Commits format."
echo "Expected: <type>(<optional scope>): <description>"
echo "Valid types: feat, fix, docs, chore, revert, enhancement, security"
echo "Got: $PR_TITLE"
exit 1
fi
echo "OK: $PR_TITLE"