Skip to content

fix: update colors for input error case #1020

fix: update colors for input error case

fix: update colors for input error case #1020

Workflow file for this run

name: 'Validate PR title'
# Event for the workflow
on:
pull_request:
types: [opened, edited, reopened, synchronize]
permissions:
pull-requests: write
jobs:
validate-pr-title:
runs-on: ubuntu-24.04
# When a check is required if it is skipped by the on condition, it remains pending on pull request
# To avoid this we must use the if condition on job:
# - It always runs on pull request if there isn't a push
# - Ignore pr opened from the branches below
if: |
!startsWith(github.head_ref, 'renovate/') &&
!startsWith(github.head_ref, 'dependabot') &&
!startsWith(github.head_ref, 'release/') &&
!startsWith(github.head_ref, 'hotfix/') &&
!startsWith(github.head_ref, 'main') &&
github.event.action != 'synchronize'
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
sparse-checkout: |
.github
- name: Setup Git Config
run: |
git config user.name "GitHub Actions Bot"
git config user.email "<>"
# feat(mui-123): Add `Button` component
# feat -> type
# mui-123 -> scope
# Add `Button` component -> subject
- name: Validate pr title
uses: ./.github/workflows/actions/validate-pr-title
with:
token: ${{ secrets.GITHUB_TOKEN }}
# Configure which types are allowed.
# Default: https://github.com/commitizen/conventional-commit-types
types: |
fix
feat
build
chore
docs
refactor
style
ci
perf
test
# Configure which scopes are allowed (newline-delimited).
scopes: |
(?:\w+)-\d+