mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-07-01 21:28:10 +00:00
Replaces version tags (e.g. astral-sh/setup-uv@v6, slackapi/slack-github-action@v2.1.0) with full commit SHAs across every workflow. Mitigates supply-chain risk from mutable tags.
42 lines
1.0 KiB
YAML
42 lines
1.0 KiB
YAML
name: PR Title Check
|
|
|
|
on:
|
|
pull_request:
|
|
types: [opened, edited, synchronize, reopened]
|
|
|
|
permissions:
|
|
contents: read
|
|
pull-requests: read
|
|
|
|
jobs:
|
|
pr-title:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: amannn/action-semantic-pull-request@e32d7e603df1aa1ba07e981f2a23455dee596825 # v5
|
|
continue-on-error: true
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
with:
|
|
types: |
|
|
feat
|
|
fix
|
|
refactor
|
|
perf
|
|
test
|
|
docs
|
|
chore
|
|
ci
|
|
style
|
|
revert
|
|
requireScope: false
|
|
subjectPattern: ^[a-z].+[^.]$
|
|
subjectPatternError: >
|
|
The PR title "{title}" does not follow conventional commit format.
|
|
|
|
Expected: <type>(<scope>): <lowercase description without trailing period>
|
|
|
|
Examples:
|
|
feat(memory): add lancedb storage backend
|
|
fix(agents): resolve deadlock in concurrent execution
|
|
chore(deps): bump pydantic to 2.11.9
|