diff --git a/.github/workflows/check_pr_title.yml b/.github/workflows/check_pr_title.yml index 1a0d0963..c96e7c33 100644 --- a/.github/workflows/check_pr_title.yml +++ b/.github/workflows/check_pr_title.yml @@ -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"}'