From fb72520a4c7f6d44b937a6028522d938cf35e41c Mon Sep 17 00:00:00 2001 From: Mihir Rane <66768874+ranemihir@users.noreply.github.com> Date: Tue, 26 Jan 2021 16:33:57 +0530 Subject: [PATCH 1/2] Integrate Contribution Inspector with the workflow --- .github/workflows/contribution-inspector.yml | 28 ++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/contribution-inspector.yml diff --git a/.github/workflows/contribution-inspector.yml b/.github/workflows/contribution-inspector.yml new file mode 100644 index 000000000..c53764abb --- /dev/null +++ b/.github/workflows/contribution-inspector.yml @@ -0,0 +1,28 @@ +name: Contribution Inspector + +on: + issues: + types: [opened, edited, reopened] + pull_request: + types: [opened, edited, reopened] + +jobs: + contribution_inspector: + runs-on: ubuntu-latest + name: Contribution Inspector + steps: + - name: All Checks + uses: flowdify/contribution-inspector@v1.0 + with: + # GitHub Access Token + token: ${{ secrets.GITHUB_TOKEN }} + # Message to show when an issue is created successfully + issue--greeting-message: 'Thanks for your contribution!' + # Message to show when a pull request is created successfully + pull-request--greeting-message: 'Thanks for your contribution!' + # Size of the pull request measured by the lines of code changed. + pull-request--size-small: 50 + # Size of the pull request measured by the lines of code changed. + pull-request--size-medium: 200 + # Size of the pull request measured by the lines of code changed. + pull-request--size-large: 400 From e8391ff72c38989cfb5a4ce1e88d99f41bde042d Mon Sep 17 00:00:00 2001 From: ranemihir Date: Tue, 26 Jan 2021 16:45:31 +0530 Subject: [PATCH 2/2] Add templates for contribution inspector --- .github/ISSUE_TEMPLATE/bug_report.md | 39 ++++++++++++++++------- .github/ISSUE_TEMPLATE/discussion.md | 8 ++--- .github/ISSUE_TEMPLATE/feature_request.md | 23 ++++++++++--- 3 files changed, 49 insertions(+), 21 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index f8df3f874..92a382b2a 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -1,28 +1,43 @@ --- name: Bug report about: Create a report to help us improve Editor.js -title: "[Bug]" -labels: bug +title: (Bug) +labels: Bug :shield:, assignees: '' --- -Describe a bug. +!--- Provide a general summary of the issue in the Title above --> -Steps to reproduce: -1. Go to … -2. Click on … -3. … +### Expected Behavior: + -Expected behavior: +### Current Behavior: + -Screenshots: +### Possible Solution: + -Device, Browser, OS: +### Steps to Reproduce: + + +1. +2. +3. +4. -Editor.js version: +### Context (Environment): + + + + + +### Detailed Description: + + +### Possible Implementation: + -Plugins you use with their versions: -3. Are there any alternatives? +### Is your proposal related to a problem?: + + + +### Describe the solution you'd like: + + + +### Describe alternatives you've considered: + + + +### Additional context: + +