mirror of
https://git.victorphan.net/basketballcantho/zalo-monitor.git
synced 2026-08-06 22:43:11 +07:00
init
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
---
|
||||
name: Bug report
|
||||
about: Create a report to help us improve
|
||||
title: "[BUG]"
|
||||
labels: bug
|
||||
assignees: ""
|
||||
---
|
||||
|
||||
**Describe the bug**
|
||||
A clear and concise description of what the bug is.
|
||||
|
||||
**To Reproduce**
|
||||
Steps to reproduce the behavior:
|
||||
|
||||
1. Go to '...'
|
||||
2. Click on '....'
|
||||
3. Scroll down to '....'
|
||||
4. See error
|
||||
|
||||
**Expected behavior**
|
||||
A clear and concise description of what you expected to happen.
|
||||
|
||||
**Screenshots**
|
||||
If applicable, add screenshots to help explain your problem.
|
||||
|
||||
**Desktop (please complete the following information):**
|
||||
|
||||
- OS: [e.g. iOS]
|
||||
- Browser [e.g. chrome, safari]
|
||||
- Version [e.g. 22]
|
||||
|
||||
**Smartphone (please complete the following information):**
|
||||
|
||||
- Device: [e.g. iPhone6]
|
||||
- OS: [e.g. iOS8.1]
|
||||
- Browser [e.g. stock browser, safari]
|
||||
- Version [e.g. 22]
|
||||
|
||||
**Additional context**
|
||||
Add any other context about the problem here.
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
---
|
||||
name: CI/CD
|
||||
about: Report issues with CI/CD pipeline or suggest improvements
|
||||
title: "[CI/CD]"
|
||||
labels: ci-cd
|
||||
assignees: ""
|
||||
---
|
||||
|
||||
**Describe the CI/CD issue**
|
||||
A clear and concise description of the CI/CD problem.
|
||||
|
||||
**Current pipeline behavior**
|
||||
Describe what's happening in the current pipeline.
|
||||
|
||||
**Expected pipeline behavior**
|
||||
Describe what should happen in the pipeline.
|
||||
|
||||
**Additional context**
|
||||
Add any other context about the CI/CD issue here.
|
||||
+55
@@ -0,0 +1,55 @@
|
||||
---
|
||||
name: Code of Conduct Violation
|
||||
about: Report a violation of our Code of Conduct
|
||||
title: "[CONDUCT]"
|
||||
labels: ["CONDUCT", "community"]
|
||||
assignees: ""
|
||||
---
|
||||
|
||||
## Code of Conduct Violation Report
|
||||
|
||||
**IMPORTANT**: This issue will be handled privately and with respect for all parties involved.
|
||||
|
||||
### Type of Violation
|
||||
<!-- Please select the type of violation -->
|
||||
- [ ] Harassment or bullying
|
||||
- [ ] Inappropriate language or behavior
|
||||
- [ ] Privacy violation (sharing personal information)
|
||||
- [ ] Spam or trolling
|
||||
- [ ] Discrimination
|
||||
- [ ] Other (please describe)
|
||||
|
||||
### Description
|
||||
<!-- Please provide a clear and detailed description of the incident -->
|
||||
|
||||
### When did this occur?
|
||||
<!-- Date and time if known -->
|
||||
|
||||
### Where did this occur?
|
||||
<!-- Please specify where the incident took place -->
|
||||
- [ ] GitHub Issues
|
||||
- [ ] GitHub Discussions
|
||||
- [ ] GitHub Pull Requests
|
||||
- [ ] GitHub Comments
|
||||
- [ ] External communication (Discord, email, etc.)
|
||||
- [ ] Other (please specify)
|
||||
|
||||
### People Involved
|
||||
<!-- Please list the usernames of people involved (if known) -->
|
||||
|
||||
### Evidence
|
||||
<!-- Please provide any relevant links, screenshots, or other evidence -->
|
||||
<!-- You can drag and drop images here -->
|
||||
|
||||
### Impact
|
||||
<!-- How did this incident affect you or the community? -->
|
||||
|
||||
### Additional Context
|
||||
<!-- Any additional information that might be helpful -->
|
||||
|
||||
### Preferred Resolution
|
||||
<!-- What would you like to see happen? (optional) -->
|
||||
|
||||
---
|
||||
|
||||
**Note**: This report will be reviewed by the team and handled according to our [Code of Conduct](https://github.com/RFS-ADRENO/zca-js/blob/main/CODE_OF_CONDUCT.md). We are committed to maintaining a safe and welcoming community for everyone.
|
||||
@@ -0,0 +1,19 @@
|
||||
---
|
||||
name: Feature request
|
||||
about: Suggest an idea for this project
|
||||
title: "[FEAT]"
|
||||
labels: enhancement
|
||||
assignees: ""
|
||||
---
|
||||
|
||||
**Is your feature request related to a problem? Please describe.**
|
||||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
||||
|
||||
**Describe the solution you'd like**
|
||||
A clear and concise description of what you want to happen.
|
||||
|
||||
**Describe alternatives you've considered**
|
||||
A clear and concise description of any alternative solutions or features you've considered.
|
||||
|
||||
**Additional context**
|
||||
Add any other context or screenshots about the feature request here.
|
||||
@@ -0,0 +1,16 @@
|
||||
---
|
||||
name: Help Wanted request
|
||||
about: Ask for help with something
|
||||
title: "[HELP]"
|
||||
labels: help wanted
|
||||
assignees: ""
|
||||
---
|
||||
|
||||
**Is your help wanted request related to a problem? Please describe.**
|
||||
A clear and concise description of what the problem is. Ex. I need help with a problem [...]
|
||||
|
||||
**Describe the solution you'd like**
|
||||
A clear and concise description of what you want to happen.
|
||||
|
||||
**Additional context**
|
||||
Add any other context or screenshots about the help wanted request here.
|
||||
@@ -0,0 +1,19 @@
|
||||
---
|
||||
name: Performance
|
||||
about: Report performance issues or suggest optimizations
|
||||
title: "[PERF]"
|
||||
labels: performance
|
||||
assignees: ""
|
||||
---
|
||||
|
||||
**Describe the performance issue**
|
||||
A clear and concise description of the performance problem.
|
||||
|
||||
**Current behavior**
|
||||
Describe the current performance metrics or behavior.
|
||||
|
||||
**Expected behavior**
|
||||
Describe what performance you expect to see.
|
||||
|
||||
**Additional context**
|
||||
Add any other context about the performance issue here.
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
---
|
||||
name: Question
|
||||
about: Questions arising during use.
|
||||
title: "[Question] Some question..."
|
||||
labels: question
|
||||
assignees: ""
|
||||
---
|
||||
|
||||
**Ask the questions you want!**
|
||||
A clear and concise question about what. Ex. When to use API [...]
|
||||
|
||||
**Describe the solution you'd like**
|
||||
A clear and concise description of what you want to
|
||||
|
||||
**Additional context**
|
||||
Add any other context or screenshots about the question here.
|
||||
+74
@@ -0,0 +1,74 @@
|
||||
---
|
||||
name: Security Vulnerability Report
|
||||
about: Report a security vulnerability
|
||||
title: "[SECURITY]"
|
||||
labels: security
|
||||
assignees: ""
|
||||
---
|
||||
|
||||
## Security Vulnerability Report
|
||||
|
||||
**IMPORTANT**: This issue will be handled privately and with the highest priority. Please do not disclose details publicly until the issue is resolved.
|
||||
|
||||
### Vulnerability Type
|
||||
<!-- Please select the type of vulnerability -->
|
||||
- [ ] Authentication bypass
|
||||
- [ ] Data exposure/information disclosure
|
||||
- [ ] Code injection
|
||||
- [ ] Cross-site scripting (XSS)
|
||||
- [ ] Cross-site request forgery (CSRF)
|
||||
- [ ] Denial of service (DoS)
|
||||
- [ ] Privilege escalation
|
||||
- [ ] Dependency vulnerability
|
||||
- [ ] Other (please describe)
|
||||
|
||||
### Severity Level
|
||||
<!-- Please assess the severity -->
|
||||
- [ ] Critical (immediate action required)
|
||||
- [ ] High (action required within 24 hours)
|
||||
- [ ] Medium (action required within 1 week)
|
||||
- [ ] Low (action required within 1 month)
|
||||
|
||||
### Description
|
||||
<!-- Please provide a clear and detailed description of the vulnerability -->
|
||||
|
||||
### Steps to Reproduce
|
||||
<!-- Please provide clear steps to reproduce the vulnerability -->
|
||||
1.
|
||||
2.
|
||||
3.
|
||||
|
||||
### Expected Behavior
|
||||
<!-- What should happen normally? -->
|
||||
|
||||
### Actual Behavior
|
||||
<!-- What actually happens due to the vulnerability? -->
|
||||
|
||||
### Environment
|
||||
<!-- Please provide details about the environment -->
|
||||
- **zca-js Version**:
|
||||
- **Node.js Version**:
|
||||
- **Operating System**:
|
||||
- **Browser** (if applicable):
|
||||
|
||||
### Impact Assessment
|
||||
<!-- What is the potential impact of this vulnerability? -->
|
||||
- **Data at Risk**:
|
||||
- **Users Affected**:
|
||||
- **Business Impact**:
|
||||
|
||||
### Suggested Fix
|
||||
<!-- Do you have any suggestions for fixing this vulnerability? (optional) -->
|
||||
|
||||
### Additional Information
|
||||
<!-- Any additional context, logs, or evidence -->
|
||||
<!-- You can drag and drop files here -->
|
||||
|
||||
### Disclosure Timeline
|
||||
<!-- When do you plan to disclose this publicly? (if applicable) -->
|
||||
|
||||
---
|
||||
|
||||
**Note**: This report will be reviewed by the security team and handled according to our [Security Policy](https://github.com/RFS-ADRENO/zca-js/blob/main/SECURITY.md). We appreciate your responsible disclosure and will work to resolve this issue promptly.
|
||||
|
||||
**⚠️ Warning**: This is an unofficial API library. Please ensure your testing does not violate Zalo's terms of service or put any accounts at risk.
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
---
|
||||
name: Testing
|
||||
about: Report testing issues or suggest test improvements
|
||||
title: "[TEST]"
|
||||
labels: testing
|
||||
assignees: ""
|
||||
---
|
||||
|
||||
**Describe the testing issue**
|
||||
A clear and concise description of the testing problem.
|
||||
|
||||
**Test case**
|
||||
Describe the test case that's failing or needs improvement.
|
||||
|
||||
**Expected test result**
|
||||
Describe what the test should verify.
|
||||
|
||||
**Additional context**
|
||||
Add any other context about the testing issue here.
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
## What does this PR do?
|
||||
<!-- Briefly describe the changes you have made -->
|
||||
|
||||
## Reason for this PR
|
||||
<!-- Why is this change needed? -->
|
||||
|
||||
## How did you verify your code works?
|
||||
- [ ] All related features have been fully tested
|
||||
- [ ] Unit tests have been updated/created if needed
|
||||
- [ ] No lint/format errors
|
||||
- [ ] Documentation has been updated if needed
|
||||
- [ ] Code changes
|
||||
|
||||
## Related Issue (if any)
|
||||
<!-- Attach a link to the related issue or ticket -->
|
||||
|
||||
## Testing Instructions
|
||||
<!-- Provide instructions for reviewers to test this PR -->
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
name: lint
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Use Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: "18.x"
|
||||
- run: npm install
|
||||
- run: npm run build:clean && npm run build:esm && npm run build:cjs
|
||||
- run: npm run lint
|
||||
Reference in New Issue
Block a user