diff --git a/.github/labeler.yml b/.github/labeler.yml index ea9e84ede..02b82db57 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -14,22 +14,22 @@ labels: - label: 'semver:major' sync: true matcher: - title: '^.*(\(?.*\)?)!:' + title: "^.*(\\(?.*\\)?)!:" - label: 'semver:minor' sync: true matcher: - title: '^feat(\(?.*\))?:' + title: "^feat(\\(?.*\\))?:" - label: 'semver:patch' sync: true matcher: - title: '^fix(\(?.*\))?:' + title: "^fix(\\(?.*\\))?:" - label: 'packages:builders' sync: true matcher: - body: '(\s|.)*### Which package is this bug report for\?(\s|.)*builders' + body: "(\\s|.)*### Which package is this bug report for\\?(\\s|.)*builders" files: - 'packages/builders/*' - 'packages/builders/**/*' @@ -37,7 +37,7 @@ labels: - label: 'packages:collection' sync: true matcher: - body: '(\s|.)*### Which package is this bug report for\?(\s|.)*collection' + body: "(\\s|.)*### Which package is this bug report for\\?(\\s|.)*collection" files: - 'packages/collection/*' - 'packages/collection/**/*' @@ -45,7 +45,7 @@ labels: - label: 'packages:discord.js' sync: true matcher: - body: '(\s|.)*### Which package is this bug report for\?(\s|.)*discord\.js' + body: "(\\s|.)*### Which package is this bug report for\\?(\\s|.)*discord\\.js" files: - 'packages/discord.js/*' - 'packages/discord.js/**/*' @@ -53,7 +53,7 @@ labels: - label: 'packages:rest' sync: true matcher: - body: '(\s|.)*### Which package is this bug report for\?(\s|.)*rest' + body: "(\\s|.)*### Which package is this bug report for\\?(\\s|.)*rest" files: - 'packages/rest/*' - 'packages/rest/**/*' @@ -61,7 +61,7 @@ labels: - label: 'packages:voice' sync: true matcher: - body: '(\s|.)*### Which package is this bug report for\?(\s|.)*voice' + body: "(\\s|.)*### Which package is this bug report for\\?(\\s|.)*voice" files: - 'packages/voice/*' - 'packages/voice/**/*' @@ -69,7 +69,7 @@ labels: - label: 'packages:ws' sync: true matcher: - body: '(\s|.)*### Which package is this bug report for\?(\s|.)*ws' + body: "(\\s|.)*### Which package is this bug report for\\?(\\s|.)*ws" files: - 'packages/ws/*' - 'packages/ws/**/*' diff --git a/.github/workflows/auto-labeler.yml b/.github/workflows/auto-labeler.yml index 502da6d0f..254ffa29c 100644 --- a/.github/workflows/auto-labeler.yml +++ b/.github/workflows/auto-labeler.yml @@ -1,12 +1,13 @@ name: 'Issue/PR Labeler' on: - pull_request_target: + pull_request: issues: types: - opened - edited jobs: triage: + name: Triage runs-on: ubuntu-latest steps: - name: Automatically label Issues/PRs diff --git a/.github/workflows/labelsync.yml b/.github/workflows/labelsync.yml index ee419d522..62e05a54d 100644 --- a/.github/workflows/labelsync.yml +++ b/.github/workflows/labelsync.yml @@ -9,8 +9,8 @@ on: paths: - '.github/labels.yml' jobs: - labeler: - name: Labeler + labelsync: + name: Label sync runs-on: ubuntu-latest steps: - name: Checkout repository