diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md deleted file mode 100755 index 11be1e0..0000000 --- a/.github/CONTRIBUTING.md +++ /dev/null @@ -1,35 +0,0 @@ -## Contributing to Mystbin.py - -First off, thanks for taking the time to contribute. It makes the library substantially better. :+1: - -The following is a set of guidelines for contributing to the repository. These are guidelines, not hard rules. - -## Good Bug Reports - -Please be aware of the following things when filing bug reports. - -1. Don't open duplicate issues. Please search your issue to see if it has been asked already. Duplicate issues will be closed. -2. When filing a bug about exceptions or tracebacks, please include the *complete* traceback. Without the complete traceback the issue might be **unsolvable** and you will be asked to provide more information. -3. Make sure to provide enough information to make the issue workable. The issue template will generally walk you through the process, but they are enumerated here as well: - - A **summary** of your bug report. This is generally a quick sentence or two to describe the issue in human terms. - - Guidance on **how to reproduce the issue**. Ideally, this should have a small code sample that allows us to run and see the issue for ourselves to debug. **Please make sure that the token is not displayed**. If you cannot provide a code snippet, then let us know what the steps were, how often it happens, etc. - - Tell us **what you expected to happen**. That way we can meet that expectation. - - Tell us **what actually happens**. What ends up happening in reality? It's not helpful to say "it fails" or "it doesn't work". Say *how* it failed, do you get an exception? Does it hang? How are the expectations different from reality? - - Tell us **information about your environment**. What version of `mystbin.py` are you using? How was it installed? What operating system are you running on? These are valuable questions and information that we use. - -If the bug report is missing this information then it'll take us longer to fix the issue. We will probably ask for clarification, and barring that if no response was given then the issue will be closed. - -## Submitting a Pull Request - -Submitting a pull request is fairly simple, just make sure it focuses on a single aspect and doesn't manage to have scope creep, and it's probably good to go. It would be incredibly lovely if the style is consistent to that found in the project. This project follows PEP-8 guidelines (mostly) with a column limit of 125. -There are provided tool rules in `pyproject.toml` for `isort` and `black` when committing here. -Please also check type completeness with `pyright`. (This is not mandatory but could lead to a PR review asking for it). - -### Git Commit Guidelines - -- Use present tense (e.g. "Add feature" not "Added feature") -- Limit all lines to 72 characters or fewer. -- Reference issues or pull requests outside the first line. - - Please use the shorthand `#123` and not the full URL. - -If you do not meet any of these guidelines, don't fret. Chances are they will be fixed upon rebasing but please do try to meet them to remove some workload. diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md deleted file mode 100755 index 880abe2..0000000 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ /dev/null @@ -1,12 +0,0 @@ -## Summary - - - -## Checklist - - - -- [ ] If code changes were made then they have been tested. -- [ ] This PR fixes an issue. -- [ ] This PR adds something new (e.g. new method or parameters). -- [ ] This PR is a breaking change (e.g. methods or parameters removed/renamed) diff --git a/.github/workflows/signoff.yaml b/.github/workflows/signoff.yaml new file mode 100644 index 0000000..e61a4b3 --- /dev/null +++ b/.github/workflows/signoff.yaml @@ -0,0 +1,15 @@ +name: validate-signoff +on: + pull_request: + types: + - opened + - edited + +jobs: + validate: + runs-on: ubuntu-latest + steps: + - name: PR Description Check + uses: pythonistaguild/pr-description-check@v1.0 + with: + content: "[x] I have read and agree to the [Developer Certificate of Origin]"