ci: Replace the PR validator with a labeler (#1560)

This commit is contained in:
Dermot Duffy
2024-09-21 18:52:22 -07:00
committed by GitHub
parent c225a9aeab
commit 217f35eece
2 changed files with 19 additions and 47 deletions
+4 -3
View File
@@ -17,6 +17,7 @@ jobs:
name: Validate PR title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: ytanikin/PRConventionalCommits@1.2.0
with:
task_types: '["feat","fix","docs","test","ci","refactor","perf","chore"]'
custom_labels: '{"feat": "feature", "fix": "bug", "docs": "documentation", "test": "testing", "ci": "ci", "refactor": "refactoring", "perf": "performance", "chore": "chore"}'