Skip to content

feat(mail-connector): Adding Dropdown for Outbound Connector to switch content type between plain text and html #1642

feat(mail-connector): Adding Dropdown for Outbound Connector to switch content type between plain text and html

feat(mail-connector): Adding Dropdown for Outbound Connector to switch content type between plain text and html #1642

on:
pull_request:
branches:
- main
types: [opened, synchronize, reopened, edited]
jobs:
check-pull-request-name:
runs-on: ubuntu-latest
steps:
- name: Extract pull request name
id: extract_pr
run: echo "${{ github.event.pull_request.title }}"
- name: Check if pull request name follows conventional commit regex
run: |
PR_REGEX='^(feat|fix|docs|style|refactor|perf|test|chore|build|other|ci)\(?.+\)?: .+$'
if [[ "${{ github.event.pull_request.title }}" =~ $PR_REGEX ]]; then
echo "Pull request name follows the conventional commit format."
else
echo "Pull request does not follow the conventional commit format."
exit 1
fi