From 32fdf4805ae8d76649fa821275cc2333c5e8bba9 Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Fri, 25 Oct 2019 14:34:54 +0100 Subject: Initial actions/labeler config (#7091) * Initial actions/labeler config * Initial actions/labeler config - add extra from review --- .github/labeler.yml | 18 ++++++++++++++++++ .github/workflows/labeler.yml | 11 +++++++++++ 2 files changed, 29 insertions(+) create mode 100644 .github/labeler.yml create mode 100644 .github/workflows/labeler.yml (limited to '.github') diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 0000000000..f4b07765c5 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,18 @@ +core: + - quantum/**/* + - tmk_core/**/* + - drivers/**/* + - tests/**/* + - util/**/* +keymap: + - users/**/* + - layouts/**/* + - keyboards/**/keymap/**/* +cli: + - bin/qmk + - requirements.txt + - lib/python/**/* +python: + - '**/*.py' +documentation: + - docs/**/* diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 0000000000..dcafb97dc9 --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,11 @@ +name: "Pull Request Labeler" +on: +- pull_request + +jobs: + triage: + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@v2 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}" -- cgit v1.2.3 From d03303ab74ab631c95b1da7c2fb67d06ff62bac5 Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Sat, 26 Oct 2019 00:27:17 +0100 Subject: Revert "Initial actions/labeler config (#7091)" (#7156) This reverts commit 32fdf4805ae8d76649fa821275cc2333c5e8bba9. --- .github/labeler.yml | 18 ------------------ .github/workflows/labeler.yml | 11 ----------- 2 files changed, 29 deletions(-) delete mode 100644 .github/labeler.yml delete mode 100644 .github/workflows/labeler.yml (limited to '.github') diff --git a/.github/labeler.yml b/.github/labeler.yml deleted file mode 100644 index f4b07765c5..0000000000 --- a/.github/labeler.yml +++ /dev/null @@ -1,18 +0,0 @@ -core: - - quantum/**/* - - tmk_core/**/* - - drivers/**/* - - tests/**/* - - util/**/* -keymap: - - users/**/* - - layouts/**/* - - keyboards/**/keymap/**/* -cli: - - bin/qmk - - requirements.txt - - lib/python/**/* -python: - - '**/*.py' -documentation: - - docs/**/* diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml deleted file mode 100644 index dcafb97dc9..0000000000 --- a/.github/workflows/labeler.yml +++ /dev/null @@ -1,11 +0,0 @@ -name: "Pull Request Labeler" -on: -- pull_request - -jobs: - triage: - runs-on: ubuntu-latest - steps: - - uses: actions/labeler@v2 - with: - repo-token: "${{ secrets.GITHUB_TOKEN }}" -- cgit v1.2.3 From 63d899d1adef561490620e3b69cc2c0d25f29c74 Mon Sep 17 00:00:00 2001 From: Drashna Jaelre Date: Fri, 8 Nov 2019 20:09:54 -0800 Subject: [GitHub] Update issue templates (#7303) * Update issue templates * Create config.yml * Update bug_report.md * Update other_issues.md * Update feature_request.md * Wordsmithing and type fixes --- .github/ISSUE_TEMPLATE/blank.md | 8 +++++++- .github/ISSUE_TEMPLATE/bug_report.md | 7 ++++++- .github/ISSUE_TEMPLATE/config.yml | 8 ++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 7 ++++++- .github/ISSUE_TEMPLATE/other_issues.md | 7 ++++++- 5 files changed, 33 insertions(+), 4 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/config.yml (limited to '.github') diff --git a/.github/ISSUE_TEMPLATE/blank.md b/.github/ISSUE_TEMPLATE/blank.md index 50a32034d6..5644802ef5 100644 --- a/.github/ISSUE_TEMPLATE/blank.md +++ b/.github/ISSUE_TEMPLATE/blank.md @@ -1,5 +1,11 @@ --- name: Blank issue -about: If you're 100% sure that you don't need one of the other issue templates, use this one instead. +about: If you're 100% sure that you don't need one of the other issue templates, use + this one instead. +title: '' +labels: help wanted, question +assignees: '' --- + + diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 3c35416e04..2e64ef16dd 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -1,7 +1,12 @@ --- name: Bug report -about: Create a report to help us improve the QMK Firmware +about: Create a report to help us improve QMK Firmware. +title: "[Bug] " +labels: bug, help wanted, discussion +assignees: '' + --- + diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000000..0d4ca035c8 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,8 @@ +blank_issues_enabled: false +contact_links: + - name: QMK Discord + url: https://discord.gg/Uq7gcHh + about: Ask questions, discuss issues and features. Chill. + - name: OLKB Subreddit + url: https://www.reddit.com/r/olkb + about: All things OLKB and QMK. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index 01aeb26cec..f7eaa825b8 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -1,7 +1,12 @@ --- name: Feature request -about: Suggest a new feature or changes to existing features +about: Suggest a new feature or changes to existing features. +title: "[Feature Request] " +labels: enhancement, help wanted, discussion +assignees: '' + --- + diff --git a/.github/ISSUE_TEMPLATE/other_issues.md b/.github/ISSUE_TEMPLATE/other_issues.md index 7c4891ac31..a0060a8ca6 100644 --- a/.github/ISSUE_TEMPLATE/other_issues.md +++ b/.github/ISSUE_TEMPLATE/other_issues.md @@ -1,7 +1,12 @@ --- name: Other issues -about: Anything else that doesn't fall into the above categories. +about: Anything else that doesn't fall into the above categories. +title: '' +labels: help wanted, question, discussion +assignees: '' + --- + -- cgit v1.2.3 From 8e8986b2506ca4cdd2339a441314a0838e3a4329 Mon Sep 17 00:00:00 2001 From: Drashna Jaelre Date: Wed, 20 Nov 2019 12:17:52 -0800 Subject: Add auto-handling of stale PRs/Issues (#7197) * Add auto-handling of stale PRs/Issues This adds the configuration for probot-stale, so that PRs and Issues can be automatically pruned without intervention by collaborators. This marks PRs with `awaiting changes` label after 45 days, and then closes any PR with "Awaiting changes" after 30 days. Unless they have `awaiting review`, `breaking_changes`, `in progress` or `on hold` labels. This marks issues as `solved` after 90 days, and then closes them 30 days afterwards. Unless they have `bug`, `discussion, `to do`, `in progress` or `on hold` labels. * Cleanup the text some * Update .github/stale.yml Co-Authored-By: fauxpark --- .github/stale.yml | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 .github/stale.yml (limited to '.github') diff --git a/.github/stale.yml b/.github/stale.yml new file mode 100644 index 0000000000..b2c40591b7 --- /dev/null +++ b/.github/stale.yml @@ -0,0 +1,52 @@ +# Configuration for probot-stale - https://github.com/probot/stale + +# General configuration + +# Pull request specific configuration +pulls: + staleLabel: awaiting changes + # Number of days of inactivity before an Issue or Pull Request becomes stale + daysUntilStale: 45 + # Number of days of inactivity before a stale Issue or Pull Request is closed. + # Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale. + daysUntilClose: 30 + # Comment to post when marking as stale. Set to `false` to disable + markComment: > + Thank you for your contribution! + + This pull request has been automatically marked as stale because it has not had + activity in the last 45 days. It will be closed in 30 days if no further activity occurs. + Please feel free to give a status update now, or re-open when it's ready. + # Comment to post when closing a stale Issue or Pull Request. + closeComment: > + Thank you for your contribution! + + This pull request has been automatically closed because it has not had activity in the last 30 days. + Please feel free to give a status update now, ping for review, or re-open when it's ready. + # Limit the number of actions per hour, from 1-30. Default is 30 + limitPerRun: 30 + exemptLabels: + - awaiting review + - breaking_change + - in progress + - on hold + +# Issue specific configuration +issues: + staleLabel: solved + limitPerRun: 10 + daysUntilStale: 90 + daysUntilClose: 30 + markComment: > + This issue has been automatically marked as resolved because it has not had activity in the + last 90 days. It will be closed in the next 30 days unless it is tagged properly or other activity + occurs. + closeComment: > + This issue has been automatically closed because it has not had activity in the last 30 days. + If this issue is still valid, re-open the issue and let us know. + exemptLabels: + - bug + - in progress + - on hold + - discussion + - to do -- cgit v1.2.3