diff --git a/.github/ISSUE_TEMPLATE/01_feature_request_form.yml b/.github/ISSUE_TEMPLATE/01_feature_request_form.yml new file mode 100644 index 0000000..fc09177 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/01_feature_request_form.yml @@ -0,0 +1,47 @@ +name: "💡 Request a Feature" +description: "Suggest a new feature or improvement for Hawk" +title: "Feature: " +labels: ["type/feature", "status/backlog"] +body: + - type: textarea + id: problem + attributes: + label: What problem would this feature solve? + placeholder: "Clear description of the current limitation/problem" + validations: + required: true + - type: textarea + id: solution + attributes: + label: "Proposed Solution" + description: "How would you like this to work?" + validations: + required: true + - type: markdown + attributes: + value: "--- + +### ⚙️ Developer Section (For Hawk Team Members Only) + +*The following sections are for internal use by the Hawk development team. Users can ignore these fields.*" + - type: textarea + id: technical-requirements + attributes: + label: "Technical Requirements" + description: "Detailed feature requirements" + validations: + required: false + - type: textarea + id: implementation-approach + attributes: + label: "Implementation Approach" + description: "Technical approach and architecture changes" + validations: + required: false + - type: textarea + id: acceptance-criteria + attributes: + label: "Acceptance Criteria" + description: "Specific conditions that must be met" + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/02_bug_report_form.yml b/.github/ISSUE_TEMPLATE/02_bug_report_form.yml new file mode 100644 index 0000000..53a0b91 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/02_bug_report_form.yml @@ -0,0 +1,65 @@ +name: "🐛 Report a Bug" +description: "Report a bug or problem with Hawk" +title: "Bug: " +labels: ["type/bug", "status/backlog"] +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to report a bug in Hawk! + - type: textarea + id: description + attributes: + label: "What happened?" + description: "Describe what you were doing and what went wrong" + placeholder: "Clear, concise description of the issue" + validations: + required: true + - type: textarea + id: reproduction + attributes: + label: "Steps to Reproduce" + description: "How can we reproduce this issue?" + placeholder: | + 1. Run command '...' + 2. With parameters '...' + 3. See error + validations: + required: true + - type: input + id: version + attributes: + label: "Hawk Version" + description: "What version of Hawk are you running?" + placeholder: "e.g., 1.2.0" + validations: + required: true + - type: markdown + attributes: + value: | + --- + + ### 🔧 Developer Section (For Hawk Team Members Only) + + *The following sections are for internal use by the Hawk development team. Users can ignore these fields.* + - type: textarea + id: technical-analysis + attributes: + label: "Technical Analysis" + description: "Root cause analysis" + validations: + required: false + - type: textarea + id: implementation-plan + attributes: + label: "Implementation Plan" + description: "Proposed fix approach" + validations: + required: false + - type: textarea + id: acceptance-criteria + attributes: + label: "Acceptance Criteria" + description: "What needs to be true for this to be resolved?" + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/03_documentation_update_form.yaml b/.github/ISSUE_TEMPLATE/03_documentation_update_form.yaml new file mode 100644 index 0000000..894a6bf --- /dev/null +++ b/.github/ISSUE_TEMPLATE/03_documentation_update_form.yaml @@ -0,0 +1,65 @@ +# documentation.yml +name: "📚 Documentation Update" +description: "Report issues with documentation or request updates" +title: "Docs: " +labels: ["type/documentation", "status/backlog"] +body: + - type: textarea + id: documentation-issue + attributes: + label: "What needs to be updated?" + description: "Describe what documentation needs to be added, updated, or fixed" + placeholder: "Clear description of documentation changes needed" + validations: + required: true + + - type: textarea + id: proposed-changes + attributes: + label: "Proposed Changes" + description: "What changes would you like to see?" + placeholder: "Specific suggestions for documentation updates" + validations: + required: true + + - type: input + id: current-page + attributes: + label: "Current Documentation Link" + description: "If this is about existing documentation, provide the link" + placeholder: "https://github.com/T0pcyber/Hawk/wiki/page-name" + validations: + required: false + + - type: markdown + attributes: + value: | + --- + + ### 📝 Developer Section (For Hawk Team Members Only) + + *The following sections are for internal use by the Hawk development team. Users can ignore these fields.* + + - type: textarea + id: implementation-plan + attributes: + label: "Implementation Plan" + description: "How should these documentation changes be implemented?" + validations: + required: false + + - type: textarea + id: additional-resources + attributes: + label: "Additional Resources" + description: "Related documents, screenshots, or examples needed" + validations: + required: false + + - type: textarea + id: acceptance-criteria + attributes: + label: "Acceptance Criteria" + description: "What needs to be true for this documentation update to be complete?" + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/04_question_form.yml b/.github/ISSUE_TEMPLATE/04_question_form.yml new file mode 100644 index 0000000..a160f2c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/04_question_form.yml @@ -0,0 +1,13 @@ +name: "❓ Ask a Question" +description: "Have a question about Hawk? Ask it here!" +title: "Question: " +labels: ["type/question", "status/backlog"] +body: + - type: textarea + id: question + attributes: + label: "Your Question" + description: "Please provide a clear and concise question." + placeholder: "Type your question here..." + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 21debcf..0000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve Hawk -title: '' -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. - -**File (please complete the following information):** - - File Name: - -**Additional context** -Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/config.yaml b/.github/ISSUE_TEMPLATE/config.yaml new file mode 100644 index 0000000..2554b54 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yaml @@ -0,0 +1,14 @@ +blank_issues_enabled: false +contact_links: + - name: "💡 Request a Feature" + url: https://github.com/T0pcyber/Hawk/issues/new?template=01_feature_request_form.yml + about: "Have an idea for improvement? Let us know" + - name: "🐛 Report a Bug" + url: https://github.com/T0pcyber/Hawk/issues/new?template=02_bug_report_form.yml + about: "Found a bug? Report it here" + - name: "📚 Documentation Issue" + url: https://github.com/T0pcyber/Hawk/issues/new?template=03_documentation_update_form.yml + about: "Report issues with documentation or request updates" + - name: "❓ Ask a Question" + url: https://github.com/T0pcyber/Hawk/issues/new?template=04_question_form.yml + about: "Have a question about Hawk? Ask it here!" diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index ab32fec..0000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -name: Feature request -about: Suggest an idea for Hawk -title: '' -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. diff --git a/.github/ISSUE_TEMPLATE/question.md b/.github/ISSUE_TEMPLATE/question.md deleted file mode 100644 index 2fe910f..0000000 --- a/.github/ISSUE_TEMPLATE/question.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -name: Question -about: Ask a question to the Hawk Owners -title: '' -labels: Question -assignees: '' - ---- - -#What is your question? diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e29e8d8..fc826a5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,19 +5,18 @@ on: jobs: build: - runs-on: windows-2019 steps: - - uses: actions/checkout@v1 - - name: Install Prerequisites - run: .\build\vsts-prerequisites.ps1 - shell: powershell - - name: Validate - run: .\build\vsts-validate.ps1 - shell: powershell - - name: Build - run: .\build\vsts-build.ps1 -ApiKey $env:APIKEY - shell: powershell - env: - APIKEY: ${{ secrets.ApiKey }} \ No newline at end of file + - uses: actions/checkout@v1 + - name: Install Prerequisites + run: .\build\vsts-prerequisites.ps1 + shell: powershell + - name: Validate + run: .\build\vsts-validate.ps1 + shell: powershell + - name: Build + run: .\build\vsts-build.ps1 -ApiKey $env:APIKEY + shell: powershell + env: + APIKEY: ${{ secrets.ApiKey }} diff --git a/.github/workflows/test-github-token-write.yml b/.github/workflows/test-github-token-write.yml new file mode 100644 index 0000000..f4043e5 --- /dev/null +++ b/.github/workflows/test-github-token-write.yml @@ -0,0 +1,17 @@ +name: Test GITHUB_TOKEN Write Access + +on: + workflow_dispatch: # Allows you to manually trigger this test + +jobs: + test-write-access: + runs-on: ubuntu-latest + steps: + - name: Test GITHUB_TOKEN Write Access + env: + ISSUE_NUMBER: 138 # Replace with an existing issue number in your repository + run: | + curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ + -X POST \ + -d '{"body": "Testing GITHUB_TOKEN write access"}' \ + "https://api.github.com/repos/${{ github.repository }}/issues/${ISSUE_NUMBER}/comments" diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 5848717..1835e53 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -2,14 +2,13 @@ on: [pull_request] jobs: validate: - runs-on: windows-2019 steps: - - uses: actions/checkout@v1 - - name: Install Prerequisites - run: .\build\vsts-prerequisites.ps1 - shell: powershell - - name: Validate - run: .\build\vsts-validate.ps1 - shell: powershell \ No newline at end of file + - uses: actions/checkout@v1 + - name: Install Prerequisites + run: .\build\vsts-prerequisites.ps1 + shell: powershell + - name: Validate + run: .\build\vsts-validate.ps1 + shell: powershell