chore(deps): update github actions #1587
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: Semantic pull request | |
on: | |
pull_request_target: | |
types: | |
- opened | |
- edited | |
- synchronize | |
permissions: | |
contents: read | |
jobs: | |
main: | |
permissions: | |
pull-requests: read # for amannn/action-semantic-pull-request to analyze PRs | |
statuses: write # for amannn/action-semantic-pull-request to mark status of analyzed PR | |
if: github.repository == 'unjs/website' | |
runs-on: ubuntu-latest | |
name: Semantic pull request | |
steps: | |
- name: Validate PR title | |
uses: amannn/action-semantic-pull-request@cfb60706e18bc85e8aec535e3c577abe8f70378e # v5.5.2 | |
with: | |
types: | | |
content | |
feat | |
fix | |
docs | |
style | |
refactor | |
perf | |
test | |
ci | |
chore | |
revert | |
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 }} |