From 528b558eab9faa64b70ddb5b752f9ef216d5067e Mon Sep 17 00:00:00 2001 From: Vishwas Shashidhar Date: Fri, 31 May 2019 20:24:47 +0530 Subject: [PATCH] add bot configuration files --- .github/auto_assign.yml | 19 +++++++++++++++++++ .github/config.yml | 21 ++++++++++++++++++++ .github/lock.yml | 38 +++++++++++++++++++++++++++++++++++++ .github/minimum-reviews.yml | 15 +++++++++++++++ .github/release-drafter.yml | 13 +++++++++++++ 5 files changed, 106 insertions(+) create mode 100644 .github/auto_assign.yml create mode 100644 .github/config.yml create mode 100644 .github/lock.yml create mode 100644 .github/minimum-reviews.yml create mode 100644 .github/release-drafter.yml diff --git a/.github/auto_assign.yml b/.github/auto_assign.yml new file mode 100644 index 00000000..2d291f7d --- /dev/null +++ b/.github/auto_assign.yml @@ -0,0 +1,19 @@ +# Set to true to add reviewers to pull requests +addReviewers: true + +# Set to true to add assignees to pull requests +addAssignees: true + +# A list of reviewers to be added to pull requests (GitHub user name) +reviewers: + - VishwasShashidhar + - KiranNiranjan + - keerthi16 + +# A list of keywords to be skipped the process that add reviewers if pull requests include it +skipKeywords: + - wip + +# 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/config.yml b/.github/config.yml new file mode 100644 index 00000000..6babc14d --- /dev/null +++ b/.github/config.yml @@ -0,0 +1,21 @@ +# Configuration for welcome - https://github.com/behaviorbot/welcome + +# Configuration for new-issue-welcome - https://github.com/behaviorbot/new-issue-welcome + +# Comment to be posted to on first time issues +newIssueWelcomeComment: > + Thanks for opening your first issue here! Be sure to follow the issue template! + +# Configuration for new-pr-welcome - https://github.com/behaviorbot/new-pr-welcome + +# Comment to be posted to on PRs from first time contributors in your repository +newPRWelcomeComment: > + Thanks for opening this pull request! Please check out our contributing guidelines. + +# Configuration for first-pr-merge - https://github.com/behaviorbot/first-pr-merge + +# Comment to be posted to on pull requests merged by a first time user +firstPRMergeComment: > + Congrats on merging your first pull request! We here at Symphony are proud of you! + +# It is recommended to include as many gifs and emojis as possible! \ No newline at end of file diff --git a/.github/lock.yml b/.github/lock.yml new file mode 100644 index 00000000..8c28481c --- /dev/null +++ b/.github/lock.yml @@ -0,0 +1,38 @@ +# Configuration for Lock Threads - https://github.com/dessant/lock-threads + +# Number of days of inactivity before a closed issue or pull request is locked +daysUntilLock: 180 + +# Skip issues and pull requests created before a given timestamp. Timestamp must +# follow ISO 8601 (`YYYY-MM-DD`). Set to `false` to disable +skipCreatedBefore: false + +# Issues and pull requests with these labels will be ignored. Set to `[]` to disable +exemptLabels: [] + +# Label to add before locking, such as `outdated`. Set to `false` to disable +lockLabel: false + +# Comment to post before locking. Set to `false` to disable +lockComment: > + This thread has been automatically locked since there has not been + any recent activity after it was closed. Please open a new issue for + related bugs. + +# Assign `resolved` as the reason for locking. Set to `false` to disable +setLockReason: true + +# Limit to only `issues` or `pulls` +# only: issues + +# Optionally, specify configuration settings just for `issues` or `pulls` +# issues: +# exemptLabels: +# - help-wanted +# lockLabel: outdated + +# pulls: +# daysUntilLock: 30 + +# Repository to extend settings from +# _extends: repo \ No newline at end of file diff --git a/.github/minimum-reviews.yml b/.github/minimum-reviews.yml new file mode 100644 index 00000000..ccb00730 --- /dev/null +++ b/.github/minimum-reviews.yml @@ -0,0 +1,15 @@ +# Number of reviews required to mark the pull request as valid +reviewsUntilReady: 2 + +# Number of changes in the pull request to start enforcing the reviewsUntilReady rule +changesThreshold: 100 + +# Message to display when the commit status passes +readyMessage: 'No pending reviews' + +# Message to display when the commit status fails +notReadyMessage: 'Pending review approvals' + +# Status to set the commit to when waiting for reviews +# 'failure, error, and pending' are the suggested options +notReadyState: 'pending' \ No newline at end of file diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 00000000..f7401686 --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,13 @@ +name-template: v$NEXT_PATCH_VERSION +tag-template: v$NEXT_PATCH_VERSION +categories: + - title: 🚀 Features + label: feature + - title: 🐛 Bug Fixes + label: fix + - title: 🧰 Maintenance + label: chore +template: | + ## Changes + + $CHANGES \ No newline at end of file