feat(Calendar): Add firstDayOfWeek
prop
#1025
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
name: PR Title Lint | |
on: | |
pull_request: | |
types: [opened, edited, reopened, synchronize] | |
permissions: | |
pull-requests: read | |
jobs: | |
pr-title-lint: | |
runs-on: ubuntu-latest | |
name: Lint PR Title | |
steps: | |
- name: Check PR Title | |
env: | |
TITLE: ${{ github.event.pull_request.title}} | |
run: | | |
if [[ "${TITLE,,}" =~ ^\[?\(?wip\]?\)? ]]; then | |
echo "PR is marked as a WIP. Skipping validation." | |
exit 0 | |
elif (echo "${TITLE,,}" | grep -P "^(fix|feat|build|chore|docs|test|refactor|ci|localize|bump|revert)(\(([A-Za-z0-9])+\))?:"); then | |
echo "Success" | |
exit 0 | |
else | |
echo "PR title validation failed. Please read our PR naming guide on our github wiki to see how to correctly name your PR: https://github.com/adobe/react-spectrum/wiki/Pull-Request-Naming-Guide" | |
exit 1 | |
fi |