From f988fd141173a32cf30a159d05bb1847e346dcc7 Mon Sep 17 00:00:00 2001 From: Carlisia Thompson Date: Wed, 21 Apr 2021 10:04:04 -0700 Subject: [PATCH] Fix misspelled file name (#3712) * Fix misspelled file name Signed-off-by: Carlisia * Change placement of line Signed-off-by: Carlisia * Fix configuration setting Signed-off-by: Carlisia * Move comment Signed-off-by: Carlisia * Fix lint errors Signed-off-by: Carlisia --- ...auto-assignees.yaml => auto-assignees.yml} | 22 ++++++++++--------- .github/workflows/auto_assign_prs.yml | 7 +++--- .github/workflows/auto_request_review.yml | 3 ++- 3 files changed, 18 insertions(+), 14 deletions(-) rename .github/{auto-assignees.yaml => auto-assignees.yml} (60%) 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