Skip to content

Commit

Permalink
Adding issue and PR template configs.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdlaird committed Feb 24, 2024
1 parent 5de8de3 commit d2380a4
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
**Description**
A clear and concise description of what was changed.

**Issues**
A list of GitHub issues related to this PR.

**Type of Change**
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

**Testing Done**
A clear and concise description of the new tests added to validate the change as well as any manual testing done.

**Checklist**
- [ ] I have added tests that prove my change works as expected, and `make test` passes with no new errors or warnings
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code in particularly hard-to-understand areas
11 changes: 11 additions & 0 deletions .github/label-commenter-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
labels:
- name: invalid-forum
labeled:
issue:
body: |
This is a bug tracker and not a support forum.
While we'd love to be able to support every person on their projects, that would simply be infeasible. Luckily, that's what the helpful developer community over at Stack Overflow is for! Please [create a question there](https://stackoverflow.com/questions/ask?tags=python) if what you're looking for is a programming question or you need help with an integration.
If you [support the project](https://github.com/sponsors/alexdlaird), contact me directly and I'd be happy to help you troubleshoot.
action: close
20 changes: 20 additions & 0 deletions .github/workflows/label-commenter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: "Label Commenter"

on:
issues:
types:
- labeled

jobs:
comment:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: main

- name: Label Commenter
uses: peaceiris/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
config_file: .github/label-commenter-config.yml

0 comments on commit d2380a4

Please sign in to comment.