Skip to content

Commit b413ed3

Browse files
committed
ci(workflow): Additional setup on contributing
1 parent 2f1d08f commit b413ed3

File tree

8 files changed

+62
-23
lines changed

8 files changed

+62
-23
lines changed

.github/CODEOWNERS

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# This is a comment.
2+
# Each line is a file pattern followed by one or more owners.
3+
4+
# Assign all files in the repository to @your-github-username
5+
#* @your-github-username
6+
7+
# Assign all JavaScript files to the 'frontend-team'
8+
#*.js @your-organization/frontend-team
9+
10+
# Assign files in the directory to a specific user
11+
#/sms-gateway/ @exampleUser

.github/CONTRIBUTING.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Contribution Guidelines
2+
3+
Thank you for your interest in contributing to our project! To ensure a smooth process, please follow these guidelines.
4+
5+
## How to Contribute
6+
7+
1. **Fork the repository** and create your branch from `main`.
8+
2. **Set up your development environment** by following the instructions in the `README.md`.
9+
3. **Make your changes.**
10+
4. **Test your changes** to ensure they don't break existing functionality.
11+
5. **Create a Pull Request** against our `main` branch.
12+
13+
## Pull Request Process
14+
15+
* Ensure your PR description clearly describes the problem and solution. Include the relevant issue number if applicable (e.g., `Closes #123`).
16+
* Your code will be reviewed by our maintainers. You may be asked to make changes.
17+
18+
We look forward to your contribution!

.github/labeler.yml

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,8 @@
1-
# Labels related to the type of issue
2-
documentation:
3-
- 'documentation'
4-
- 'docs'
5-
- 'doc'
1+
frontend:
2+
- /frontend/**/*
63

7-
bug:
8-
- 'bug'
9-
- 'error'
10-
- 'issue'
11-
- 'problem'
12-
- 'crash'
4+
backend:
5+
- /sms-gateway/**/*
136

14-
enhancement:
15-
- 'feature'
16-
- 'enhancement'
17-
- 'suggestion'
7+
documentation:
8+
- '*.md'

.github/pull_request_template.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
name: 🚀 New Contribution
3+
about: Propose a new change to the codebase.
4+
---
5+
6+
## Description
7+
8+
Please provide a clear and concise description of the changes in this pull request.
9+
10+
## Related Issue
11+
12+
Closes #
13+
14+
## Checklist
15+
16+
- [ ] I have read the **[CONTRIBUTING.md](CONTRIBUTING.md)** document.
17+
- [ ] I ensure that PR title follows conventional commits (https://www.conventionalcommits.org)
18+
- [ ] I have added tests that prove my fix is effective or that my feature works.
19+
- [ ] All new and existing tests passed.

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
jobs:
77
# A single job in this workflow called "build"
88
build:
9-
runs-on: [ self-hosted, linux ]
9+
runs-on: ubuntu-latest
1010
steps:
1111
# 1. Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
1212
- name: Checkout repository

.github/workflows/buildNative.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
jobs:
77
# A single job in this workflow called "build"
88
build:
9-
runs-on: [ self-hosted, linux ]
9+
runs-on: ubuntu-latest
1010
steps:
1111
# 1. Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
1212
- name: Checkout repository

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ on: push
55
# By setting up concurrency group using github.ref, we essentially instruct github to only run one workflow at a time per branch
66
# With "cancel-in-progress: true" we also specify that existing/running workflows for that branch will be canceled
77
concurrency:
8-
group: ossgTests-${{github.ref}}
8+
group: SendiumTests-${{github.ref}}
99
cancel-in-progress: true
1010

1111
jobs:
1212
tests:
13-
runs-on: [ self-hosted, linux ]
13+
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout code
1616
uses: actions/checkout@v5
@@ -36,7 +36,7 @@ jobs:
3636
chmod +x ./mvnw
3737
./mvnw verify
3838
- id: result
39-
name: OSSG Test Result
39+
name: Sendium Test Result
4040
if: always()
4141
run: |
4242
echo "result=${{job.status}}" >> $GITHUB_ENV
@@ -85,7 +85,7 @@ jobs:
8585
- name: Google Chat Notification
8686
uses: jchrist/google-chat-github-action@v1
8787
with:
88-
name: ossg Build
88+
name: Sendium Build
8989
url: ${{ secrets.GOOGLE_CHAT_WEBHOOK }}
9090
status: ${{ job.status }}
9191
if: always()
@@ -323,7 +323,7 @@ jobs:
323323
- name: Google Chat Notification
324324
uses: jchrist/google-chat-github-action@v1
325325
with:
326-
name: ossg Build
326+
name: Sendium Build
327327
url: ${{ secrets.GOOGLE_CHAT_WEBHOOK }}
328328
status: ${{ job.status }}
329329
if: always()

.github/workflows/issue-labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
jobs:
88
label-issues:
9-
runs-on: [ self-hosted, linux ]
9+
runs-on: ubuntu-latest
1010
permissions:
1111
issues: write
1212
steps:

0 commit comments

Comments
 (0)