diff --git a/.github/CODEOWNERS.txt b/.github/CODEOWNERS.txt new file mode 100644 index 0000000..2ce32f8 --- /dev/null +++ b/.github/CODEOWNERS.txt @@ -0,0 +1 @@ +* @AMTM-OSR/maintainers @AMTM-OSR/Admins diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml deleted file mode 100644 index c809afb..0000000 --- a/.github/FUNDING.yml +++ /dev/null @@ -1,12 +0,0 @@ -# These are supported funding model platforms - -github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] -patreon: # Replace with a single Patreon username -open_collective: # Replace with a single Open Collective username -ko_fi: # Replace with a single Ko-fi username -tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel -community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry -liberapay: # Replace with a single Liberapay username -issuehunt: # Replace with a single IssueHunt username -otechie: # Replace with a single Otechie username -custom: diff --git a/.github/ISSUE_TEMPLATE/bug-report.md b/.github/ISSUE_TEMPLATE/bug-report.md new file mode 100644 index 0000000..318ea84 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug-report.md @@ -0,0 +1,37 @@ +--- +name: Bug Report +about: Create a report to help us improve +title: "[BUG] - " +labels: bug +--- + + +⚠️ @AMTM-OSR/maintainers — please help triage this bug. + +**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. + +**Logs** +If applicable, add logs to help explain your problem. (e.g. Sys.log or script update logs) + +**Router Information (please complete the following information):** + - Router Model [e.g. RT-AX88U]: + - Firmware Version: [e.g. 3004.388.5]: + - Browser [e.g. chrome, safari, edge]: + - Other Scripts?: + +**Additional context** +Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/feature-request.md b/.github/ISSUE_TEMPLATE/feature-request.md new file mode 100644 index 0000000..0bd7dea --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature-request.md @@ -0,0 +1,21 @@ +--- +name: Feature Request +about: Suggest an idea for this project +title: "[REQ] - " +labels: enhancement +--- + + +⚠️ @AMTM-OSR/triagers — please help triage this request. + +**Is your feature request related to a problem? Please describe.** +A clear and concise description of what the problem is. [Ex. Link to existing bug report...] + +**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. diff --git a/.github/workflows/Check-PRsource.yml b/.github/workflows/Check-PRsource.yml new file mode 100644 index 0000000..ebbc5d4 --- /dev/null +++ b/.github/workflows/Check-PRsource.yml @@ -0,0 +1,18 @@ +name: Check pull request source branch +on: + pull_request_target: + types: + - opened + - reopened + - synchronize + - edited +jobs: + check-branches: + runs-on: ubuntu-latest + steps: + - name: Check branches + run: | + if [ ${{ github.head_ref }} != "develop" ] && [ ${{ github.base_ref }} == "master" ]; then + echo "Merge requests to main branch are only allowed from dev branch." + exit 1 + fi