diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index b12c0d6c..b97420ae 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -47,7 +47,7 @@ autolabeler: - go.sum - '**/.terraform.lock.hcl' branch: - - '/dependabot\/.+/' + - '/^dependabot\/.+$/i' - label: documentation files: - README @@ -55,18 +55,18 @@ autolabeler: - '**/docs/**' - '**/*.md' branch: - - '/docs?/' + - '/^docs?\/.+$/' - label: bug branch: - - '/fix\/.+/' - - '/bug\/.+/' + - '/^fix\/.+$/i' + - '/^bug\/.+$/i' title: - '/\bfix(es)?\b/i' - '/\bbug\b/i' - label: enhancement branch: - - 'feat(ure)?\/.+/' - - 'enhance(s|ment)?\/.+/' + - '/^feat(ures?)?\/.+$/i' + - '/^enhance(s|ments?)?\/.+$/i' title: - '/\bfeat(ure)?\b/i' - '/\benhance(s|ment)?\b/i'