diff --git a/.github/pr-labeler.yml b/.github/pr-labeler.yml new file mode 100644 index 000000000..4d4b682b9 --- /dev/null +++ b/.github/pr-labeler.yml @@ -0,0 +1,23 @@ +# The bot always updates the labels, add/remove as necessary [default: false] +alwaysReplace: false +# Treats the text and labels as case sensitive [default: true] +caseSensitive: false +# Array of labels to be applied to the PR [default: []] +customLabels: + # Finds the `text` within the PR title and body and applies the `label` + - text: 'new plugin' + label: 'Plugin Submission' + - text: 'add' + label: 'Plugin Submission' + - text: 'bug' + label: 'bug' + - text: 'fix' + label: 'bug' + - text: 'feature' + label: 'enhancement' +# Search the body of the PR for the `text` [default: true] +searchBody: true +# Search the title of the PR for the `text` [default: true] +searchTitle: true +# Search for whole words only [default: false] +wholeWords: false diff --git a/.github/workflows/pr_assignee.yml b/.github/workflows/pr_assignee.yml deleted file mode 100644 index 0abe81fdf..000000000 --- a/.github/workflows/pr_assignee.yml +++ /dev/null @@ -1,17 +0,0 @@ -name: Assign PR to creator - -# Due to GitHub token limitation, only able to assign org members not authors from forks. -# https://github.com/thomaseizinger/assign-pr-creator-action/issues/3 - -on: - pull_request: - types: [opened] - -jobs: - automation: - runs-on: ubuntu-latest - steps: - - name: Assign PR to creator - uses: thomaseizinger/assign-pr-creator-action@v1.0.0 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }}