diff --git a/.github/auto-assignees.yaml b/.github/auto-assignees.yml similarity index 60% rename from .github/auto-assignees.yaml rename to .github/auto-assignees.yml index 632f73cc5..b6630e5a4 100644 --- a/.github/auto-assignees.yaml +++ b/.github/auto-assignees.yml @@ -1,3 +1,7 @@ +--- +# This assigns a PR to its author +addAssignees: author + reviewers: # The default reviewers defaults: @@ -13,28 +17,26 @@ reviewers: - jenting tech-writer: - - a-mccarthy + - a-mccarthy files: 'site/**': - tech-writer '**/*.md': - tech-writer - '/design/**': # Technical design requests are ".md" files but should be reviewed by maintainers + # Technical design requests are ".md" files but should + # be reviewed by maintainers + '/design/**': - maintainers options: ignore_draft: true ignored_keywords: - - WIP + - WIP - wip - DO NOT MERGE - enable_group_assignment: true - # Randomly pick reviewers up to this number. - # Do not set this option if you'd like to assign all matching reviewers. - number_of_reviewers: 2 - -# This assigns a PR to its author - addAssignees: author \ No newline at end of file +# Randomly pick reviewers up to this number. +# Do not set this option if you'd like to assign all matching reviewers. +number_of_reviewers: 2 diff --git a/.github/workflows/auto_assign_prs.yml b/.github/workflows/auto_assign_prs.yml index 9f53b71a7..8843d3416 100644 --- a/.github/workflows/auto_assign_prs.yml +++ b/.github/workflows/auto_assign_prs.yml @@ -1,7 +1,8 @@ +--- name: "Auto Assign Author" -# pull_request_target means that this will run on pull requests, but in the context of the base repo. -# This should mean PRs from forks are supported. +# pull_request_target means that this will run on pull requests, but in +# the context of the base repo. This should mean PRs from forks are supported. on: pull_request_target: types: [opened, reopened, ready_for_review] @@ -15,4 +16,4 @@ jobs: uses: kentaro-m/auto-assign-action@v1.1.1 with: configuration-path: ".github/auto-assignees.yml" - repo-token: "${{ secrets.GITHUB_TOKEN }}" \ No newline at end of file + repo-token: "${{ secrets.GITHUB_TOKEN }}" diff --git a/.github/workflows/auto_request_review.yml b/.github/workflows/auto_request_review.yml index f4ba66cf2..91895e080 100644 --- a/.github/workflows/auto_request_review.yml +++ b/.github/workflows/auto_request_review.yml @@ -1,3 +1,4 @@ +--- name: "Auto Request Review" on: @@ -13,4 +14,4 @@ jobs: uses: necojackarc/auto-request-review@v0.5.1 with: token: ${{ secrets.GITHUB_TOKEN }} - config: .github/auto-assignees.yml \ No newline at end of file + config: .github/auto-assignees.yml