From 6ea7620e54d65dc7ddc186593c3259cf47a8faed Mon Sep 17 00:00:00 2001 From: juan131 Date: Fri, 30 Aug 2019 10:05:09 +0200 Subject: [PATCH] Add ISSUE and PR templates + stale bot configuration --- .../.github/ISSUE_TEMPLATE.md | 60 +++++++++++++++++++ .../.github/PULL_REQUEST_TEMPLATE.md | 32 ++++++++++ bitnami/postgresql-repmgr/.github/stale.yml | 36 +++++++++++ 3 files changed, 128 insertions(+) create mode 100644 bitnami/postgresql-repmgr/.github/ISSUE_TEMPLATE.md create mode 100644 bitnami/postgresql-repmgr/.github/PULL_REQUEST_TEMPLATE.md create mode 100644 bitnami/postgresql-repmgr/.github/stale.yml diff --git a/bitnami/postgresql-repmgr/.github/ISSUE_TEMPLATE.md b/bitnami/postgresql-repmgr/.github/ISSUE_TEMPLATE.md new file mode 100644 index 000000000000..da2b4da33fde --- /dev/null +++ b/bitnami/postgresql-repmgr/.github/ISSUE_TEMPLATE.md @@ -0,0 +1,60 @@ + + +**Description** + + + +**Steps to reproduce the issue:** + +1. [First Step] +2. [Second Step] +3. [and so on...] + +**Describe the results you received:** + + + +**Describe the results you expected:** + + + +**Additional information you deem important (e.g. issue happens only occasionally):** + + + +**Version** + +- Output of `docker version`: + +``` +(paste your output here) +``` + +- Output of `docker info`: + +``` +(paste your output here) +``` + +- Output of `docker-compose version` (if applicable): + +``` +(paste your output here) +``` + +**Additional environment details (AWS, VirtualBox, Docker for MAC, physical, etc.):** diff --git a/bitnami/postgresql-repmgr/.github/PULL_REQUEST_TEMPLATE.md b/bitnami/postgresql-repmgr/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 000000000000..c2acbe6e0d70 --- /dev/null +++ b/bitnami/postgresql-repmgr/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,32 @@ + + +**Description of the change** + + + +**Benefits** + + + +**Possible drawbacks** + + + +**Applicable issues** + + + +**Additional information** + + diff --git a/bitnami/postgresql-repmgr/.github/stale.yml b/bitnami/postgresql-repmgr/.github/stale.yml new file mode 100644 index 000000000000..ea65d3277a62 --- /dev/null +++ b/bitnami/postgresql-repmgr/.github/stale.yml @@ -0,0 +1,36 @@ +# Configuration for probot-stale - https://github.com/probot/stale + +# Number of days of inactivity before an Issue or Pull Request becomes stale +daysUntilStale: 15 + +# Number of days of inactivity before a stale Issue or Pull Request is closed. +daysUntilClose: 5 + +# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable +exemptLabels: + - on-hold + +# Label to use when marking as stale +staleLabel: stale + +issues: + # Comment to post when marking as stale. Set to `false` to disable + markComment: > + This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback. + + # Comment to post when closing a stale Issue or Pull Request. + closeComment: > + Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary. + +pulls: + # Comment to post when marking as stale. Set to `false` to disable + markComment: > + This Pull Request has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thank you for your contribution. + + # Comment to post when closing a stale Issue or Pull Request. + closeComment: > + Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Pull Request. Do not hesitate to reopen it later if necessary. + +# Limit the number of actions per hour, from 1-30. Default is 30 +limitPerRun: 30 +