ci: Turn off PR labelling (#1492)

This commit is contained in:
Sergey Kuznetsov
2024-06-25 14:52:26 +01:00
committed by GitHub
parent 6a848649b3
commit 77cec26cc9

View File

@@ -7,11 +7,12 @@ on:
jobs:
check_title:
runs-on: ubuntu-20.04
permissions:
pull-requests: write
# permissions:
# pull-requests: write
steps:
- uses: ytanikin/PRConventionalCommits@1.2.0
with:
task_types: '["build","feat","fix","docs","test","ci","style","refactor","perf","chore"]'
add_label: true
custom_labels: '{"build":"build", "feat":"enhancement", "fix":"bug", "docs":"documentation", "test":"testability", "ci":"ci", "style":"refactoring", "refactor":"refactoring", "perf":"performance", "chore":"tooling"}'
add_label: false
# Turned off labelling because it leads to an error, see https://github.com/ytanikin/PRConventionalCommits/issues/19
# custom_labels: '{"build":"build", "feat":"enhancement", "fix":"bug", "docs":"documentation", "test":"testability", "ci":"ci", "style":"refactoring", "refactor":"refactoring", "perf":"performance", "chore":"tooling"}'