Skip to content

Commit

Permalink
added PR labelling action, and updated release drafter / PR template
Browse files Browse the repository at this point in the history
  • Loading branch information
pingu2k4 committed Oct 21, 2024
1 parent e3758c9 commit 1299f73
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@
## 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`

- [ ] `patch`
- [ ] `minor`
- [ ] `major`
3 changes: 3 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ categories:
labels:
- "docs"
- "documentation"
- title: "🔗 Dependencies"
labels:
- "3Adependencies"
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-linux
steps:
- uses: actions/checkout@v2
name: Checkout

- uses: harupy/auto-labeling@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
label-pattern: '- \[(.*?)\] ?`(.+?)`' # matches '- [x] `label`'

0 comments on commit 1299f73

Please sign in to comment.