diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..6333ef0 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,23 @@ +# Pull Request Template + +## Description +Please include a summary of the change and which issue is fixed. Include the context and motivations behind your changes. + +## 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) +- [ ] This change requires a documentation update + +## Checklist: +Before you submit the pull request, please review the following checklist: +- [ ] I have performed a self-review of my own code. +- [ ] I have commented my code, particularly in hard-to-understand areas. +- [ ] I have made corresponding changes to the documentation. +- [ ] My changes generate no new warnings. +- [ ] I have added tests that prove my fix is effective or that my feature works. +- [ ] New and existing unit tests pass locally with my changes. +- [ ] Any dependent changes have been merged and published in downstream modules. + +## Linked Issues +Mention the issues that are addressed by this PR. You can use the `#` symbol to link an issue. \ No newline at end of file diff --git a/.github/workflows/upload.yml b/.github/workflows/upload.yml new file mode 100644 index 0000000..1c6d9d3 --- /dev/null +++ b/.github/workflows/upload.yml @@ -0,0 +1,26 @@ +name: upload + +on: + push: + tags: + - 'v*.*.*' + +permissions: + contents: write + +jobs: + upload: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: install dependencies + run: python3 -m pip install --user --upgrade poetry + - name: build + run: poetry build + - name: release + uses: softprops/action-gh-release@v1 + with: + files: | + dist/* + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}