From 1c31a928d153aaf35fb3ea55c6165fdfa51d5dc4 Mon Sep 17 00:00:00 2001 From: David Kornel Date: Thu, 22 Feb 2024 08:35:30 +0100 Subject: [PATCH] Add workflow for autoassign and put reviewers (#16) Signed-off-by: David Kornel --- .github/auto_assign.yml | 15 +++++++++++++++ .github/workflows/auto_assign.yaml | 10 ++++++++++ 2 files changed, 25 insertions(+) create mode 100644 .github/auto_assign.yml create mode 100644 .github/workflows/auto_assign.yaml diff --git a/.github/auto_assign.yml b/.github/auto_assign.yml new file mode 100644 index 0000000..f09c5e7 --- /dev/null +++ b/.github/auto_assign.yml @@ -0,0 +1,15 @@ +# Set to true to add reviewers to pull requests +addReviewers: true + +# Set to true to add assignees to pull requests +addAssignees: author + +# A list of reviewers to be added to pull requests (GitHub user name) +reviewers: + - kornys + - Frawless + - im-konge + +# A number of reviewers added to the pull request +# Set 0 to add all the reviewers (default: 0) +numberOfReviewers: 0 \ No newline at end of file diff --git a/.github/workflows/auto_assign.yaml b/.github/workflows/auto_assign.yaml new file mode 100644 index 0000000..eb62ffa --- /dev/null +++ b/.github/workflows/auto_assign.yaml @@ -0,0 +1,10 @@ +name: Skodjob bot +on: + pull_request: + types: [opened, ready_for_review] + +jobs: + review: + runs-on: ubuntu-latest + steps: + - uses: kentaro-m/auto-assign-action@v2.0.0 \ No newline at end of file