docs(rsc): mention validateImports
option for build time server-only
and client-only
validation
#4783
Workflow file for this run
This file contains hidden or 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: Semantic Pull Request | |
on: | |
pull_request_target: | |
types: | |
- opened | |
- edited | |
- synchronize | |
jobs: | |
main: | |
if: github.repository == 'vitejs/vite-plugin-react' | |
runs-on: ubuntu-latest | |
name: Semantic Pull Request | |
permissions: | |
pull-requests: read | |
steps: | |
- name: Validate PR title | |
uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6 | |
with: | |
subjectPattern: ^(?![A-Z]).+$ | |
subjectPatternError: | | |
The subject "{subject}" found in the pull request title "{title}" | |
didn't match the configured pattern. Please ensure that the subject | |
doesn't start with an uppercase character. | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |