From 8a19d5ddc6c0d3fed0c04b19fbb600c51b8d9237 Mon Sep 17 00:00:00 2001 From: TeoDev1611 Date: Sun, 30 May 2021 17:58:51 -0500 Subject: [PATCH] ci(.github): add the config for the github bots and create the issue config --- .github/ISSUE_TEMPLATE/config.yml | 8 ++++++++ .github/config.yml | 4 ++++ .github/invite-contributors.yml | 1 + .github/issue-close-app.yml | 29 +++++++++++++++++++++++++++++ 4 files changed, 42 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/config.yml create mode 100644 .github/invite-contributors.yml create mode 100644 .github/issue-close-app.yml diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..68954ab --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,8 @@ +blank_issues_enabled: false +contact_links: + - name: Moldy Mail + url: mailto:moldycommunity@gmai.com + about: Please any support or offert to this email + - name: Moldy Bug or security vulnerabilities + url: https://discord.gg/2uwzhmJdfw + about: Please report security vulnerabilities here. diff --git a/.github/config.yml b/.github/config.yml new file mode 100644 index 0000000..8fc75eb --- /dev/null +++ b/.github/config.yml @@ -0,0 +1,4 @@ +helpr: + opened: 'new-moldy-pr' + merged: 'success-moldy-pr' + rejected: 'error-moldy-pr' diff --git a/.github/invite-contributors.yml b/.github/invite-contributors.yml new file mode 100644 index 0000000..a27a861 --- /dev/null +++ b/.github/invite-contributors.yml @@ -0,0 +1 @@ +team: cli-team diff --git a/.github/issue-close-app.yml b/.github/issue-close-app.yml new file mode 100644 index 0000000..996e6b4 --- /dev/null +++ b/.github/issue-close-app.yml @@ -0,0 +1,29 @@ +# Comment that will be sent if an issue is judged to be closed. +comment: "This issue is closed because it does not meet our issue template. Please read it." +issueConfigs: +# There can be several configs for different kind of issues. +- content: +# Example 1: bug report + - "Expected Behavior" + - "Current Behavior" + - "Steps to Reproduce" + - "Detailed Description" +- content: +# Example 2: feature request + - "Motivation / Use Case" + - "Expected Behavior" + - "Other Information" +# Optional configuration: +# +# whether the keywords are case-insensitive +# default value is false, which means keywords are case-sensitive +caseInsensitive: false +# the label that will be added when the bot close an issue +# The bot will only add a label if this property is set. +label: "closed by bot" +# The bot will ignore any issues that are opened or reopened by the user names in exception +exception: + - "username1" + - "username2" +# The issue is judged to be legal if it includes all keywords from any of these two configs. +# Or it will be closed by the app.