-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure PR labels and provide PR template (#288)
* chore: add pull request template * chore: ensure pull request has label * chore: add list of labels * chore: enable git completion in bash terminal * feat: use minimal set of labels
- Loading branch information
Showing
4 changed files
with
60 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Readiness checklist | ||
|
||
- [ ] I ensured that the PR title is good enough. | ||
- [ ] I labeled the PR. | ||
- [ ] I self-reviewed the PR. | ||
|
||
<!-- # Description --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- | ||
# https://github.com/repository-settings/app | ||
|
||
repository: | ||
allow_squash_merge: true | ||
allow_merge_commit: false | ||
allow_rebase_merge: false | ||
allow_auto_merge: true | ||
allow_update_branch: true | ||
delete_branch_on_merge: true | ||
|
||
labels: | ||
- name: bug | ||
color: "#d73a4a" | ||
description: Something isn't working | ||
- name: chore | ||
color: "#c2e0c6" | ||
description: Some routine work like updating dependencies | ||
- name: ci | ||
color: "#DFB5FD" | ||
description: Continuous Integration related stuff | ||
- name: dependencies | ||
color: "#0366d6" | ||
description: Pull requests that update dependencies | ||
- name: enhancement | ||
color: "#a2eeef" | ||
description: New feature or request | ||
- name: refactoring | ||
color: "#880361" | ||
description: Refactoring of code | ||
- name: wip | ||
color: "#32BF4C" | ||
description: Work in Progress (blocks mergify from auto update the branch) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: Check Pull Request | ||
|
||
on: | ||
pull_request: | ||
types: [opened, labeled, unlabeled, synchronize] | ||
|
||
jobs: | ||
validate-pr-label: | ||
name: Validate the Pull Request's labels | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: PR must be labeled | ||
uses: jesusvasquez333/verify-pr-label-action@v1.4.0 | ||
with: | ||
disable-reviews: true | ||
github-token: "${{ secrets.GITHUB_TOKEN }}" | ||
valid-labels: "bug, chore, ci, dependencies, enhancement, refactoring" |