diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index f31a1c63..b03c8142 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -4,10 +4,12 @@ ## Issue -## Checklist before requesting a review -> The PR will only be considered when all items within the checklist are marked as complete. Feel free to submit an incomplete draft PR, and add additional commits until you are able to satisfy each item within the checklist. -- [ ] I have performed a self-review of my code -- [ ] I have submitted at most one additional endpoint implementation -- [ ] I have either submitted no additional endpoint implementation, or my implementation covers both client and server SDK's, unless either are marked in the [README](https://github.com/PinguApps/AppwriteSdk/blob/dev/README.md) with a ❌ -- [ ] I have added applicable tests for my code -- [ ] I have updated the [README](https://github.com/PinguApps/AppwriteSdk/blob/dev/README.md) with updated status as a result of this PR +## Categorise the PR + +- [ ] `feature` +- [ ] `bug` +- [ ] `docs` +- [ ] `meta` +- [ ] `patch` +- [ ] `minor` +- [ ] `major` diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 5604e78a..39566e76 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -16,6 +16,12 @@ categories: labels: - "docs" - "documentation" + - title: "🔗 Dependencies" + labels: + - "dependencies" + - title: "🌀 Meta" + labels: + - "meta" version-resolver: major: labels: diff --git a/.github/workflows/pr-labels.yml b/.github/workflows/pr-labels.yml new file mode 100644 index 00000000..1646b127 --- /dev/null +++ b/.github/workflows/pr-labels.yml @@ -0,0 +1,20 @@ +name: Auto Labeller + +on: + pull_request: + types: + - opened + - edited + +jobs: + labelling: + name: Labelling + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + name: Checkout + + - uses: harupy/auto-labeling@master + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + label-pattern: '- \[(.*?)\] ?`(.+?)`' # matches '- [x] `label`'