mirror of
https://github.com/SecurityBrewery/catalyst.git
synced 2026-01-10 08:13:08 +01:00
24 lines
455 B
YAML
24 lines
455 B
YAML
name: Semantic Pull Request
|
|
|
|
on:
|
|
pull_request_target:
|
|
types:
|
|
- opened
|
|
- edited
|
|
- synchronize
|
|
- reopened
|
|
|
|
permissions:
|
|
pull-requests: read
|
|
|
|
jobs:
|
|
main:
|
|
name: Validate PR title
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: amannn/action-semantic-pull-request@v5
|
|
with:
|
|
disallowScopes: ".*"
|
|
subjectPattern: "^(?![A-Z]).+$"
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |