-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added Labeller action and PR template (#1107)
- Loading branch information
1 parent
f1e65c8
commit bd47e52
Showing
3 changed files
with
68 additions
and
0 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
## Pull Request Standards | ||
|
||
- [ ] The title of the PR is accurate | ||
- [ ] The title includes the type of change [`HOTFIX`, `FEATURE`, `etc`] | ||
- [ ] The PR title includes the ticket number in format of `[NRPTI-###]` | ||
- [ ] Documentation is updated to reflect change | ||
|
||
# Description | ||
|
||
This PR includes the following proposed change(s): | ||
|
||
- { List all the changes made } | ||
- { Include any screenshots necessary } |
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,40 @@ | ||
# Auto Label Git Action Config | ||
# 'label_name' | ||
# - path_of_diff/where/code_lives/to_base_label_upon | ||
|
||
# Any change to any file in .github/workflows | ||
'GitHub Actions': | ||
- '.github/workflows/*' | ||
|
||
# Any change to the docker-compose file or any dockerfile in the repo | ||
'Docker': | ||
- '**/Dockerfile' | ||
- docker-compose.yml | ||
|
||
# Any changes to file or subfolders in /backend | ||
'Backend': | ||
- 'api/**/*' | ||
|
||
# Any changes to file or subfolders in /frontend | ||
'Frontend': | ||
- 'angular/**/*' | ||
|
||
# Any changes to file or subfolders in /docs | ||
'Docs': | ||
- 'docs/**/*' | ||
|
||
# Any changes to file or subfolders in /scripts | ||
'Scripts': | ||
- 'app/scripts/**/*' | ||
|
||
# Any changes to file or subfolders in /openshift | ||
'OpenShift': | ||
- '**/openshift/**/*' | ||
|
||
# Any changes to file of subfolders in /tests | ||
'Testing': | ||
- 'api/test/**/*' | ||
|
||
# Any change to any file in any directory with a .env in name | ||
'Environment Variables': | ||
- '**/*.env*' |
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,15 @@ | ||
name: "Pull Request Labeler" | ||
on: | ||
- pull_request_target | ||
|
||
jobs: | ||
triage: | ||
permissions: | ||
contents: read | ||
pull-requests: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/labeler@v4 | ||
with: | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" | ||
configuration-path: .github/labeller.yaml |