Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add auto labelling to prs #512

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@
## Issue
<!-- Enter the ticket number and link to the issue you are completing, if appropriate -->

## 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
<!-- Select at least one category from below that best describes this PR and what it does -->
- [ ] feature
- [ ] bug
- [ ] docs
- [ ] meta

- [ ] patch
- [ ] minor
- [ ] major
6 changes: 6 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ categories:
labels:
- "docs"
- "documentation"
- title: "🔗 Dependencies"
labels:
- "dependencies"
- title: "🌀 Meta"
labels:
- "meta"
version-resolver:
major:
labels:
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/pr-labels.yml
Original file line number Diff line number Diff line change
@@ -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`'
Loading