diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000..503f83a --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,90 @@ +name: 🐛 Bug Report +description: Report a bug or unexpected behavior +title: "[Bug]: " +labels: ["bug"] +body: + - type: markdown + attributes: + value: | + Thanks for reporting a bug! Please fill out the information below. + + - type: textarea + id: expected + attributes: + label: Expected Behavior + description: What did you expect to happen? + placeholder: I expected... + validations: + required: true + + - type: textarea + id: actual + attributes: + label: Actual Behavior + description: What actually happened? + placeholder: Instead, what happened was... + validations: + required: true + + - type: textarea + id: reproduce + attributes: + label: Steps to Reproduce + description: Provide steps to reproduce the issue + placeholder: | + 1. + 2. + 3. + validations: + required: true + + - type: input + id: sdk-version + attributes: + label: SDK Version + description: What version of the SDK are you using? + placeholder: e.g., 1.0.0 + validations: + required: true + + - type: dropdown + id: java-version + attributes: + label: Java Version + description: What version of Java are you using? + options: + - "17" + - "21" + - "25" + - Other (specify in additional context) + validations: + required: true + + - type: dropdown + id: regression + attributes: + label: Is this a regression? + description: Did this work in a previous version? + options: + - "No" + - "Yes" + validations: + required: true + + - type: input + id: worked-version + attributes: + label: Last Working Version + description: If this is a regression, what version did this work in? + placeholder: e.g., 0.9.0 + validations: + required: false + + - type: textarea + id: context + attributes: + label: Additional Context + description: Add any other context, logs, or screenshots + placeholder: Additional information... + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..02398f6 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,9 @@ +--- +blank_issues_enabled: false +contact_links: + - name: Documentation + url: https://sfuosdev.github.io/Docs/ + about: Check our documentation and contributing guide for help and guidelines on how to contribute to the project. + - name: Discord + url: https://discord.gg/Y3bZKpwBkj + about: Join our Discord server to ask questions, get help, and discuss the project with the community. diff --git a/.github/ISSUE_TEMPLATE/functionality.yml b/.github/ISSUE_TEMPLATE/functionality.yml new file mode 100644 index 0000000..ba02d31 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/functionality.yml @@ -0,0 +1,35 @@ +name: Functionality Request +description: Request a new feature or enhancement +title: "[Feature]: " +labels: ["enhancement"] +body: + - type: markdown + attributes: + value: | + Thanks for suggesting a new feature! Please fill out the information below. + + - type: input + id: title + attributes: + label: Feature Title + description: Provide a concise title for the feature you are requesting. + placeholder: e.g., Add support for XYZ + validations: + required: true + - type: textarea + id: description + attributes: + label: Feature Description + description: Describe the feature or enhancement you would like to see. + placeholder: I would like to see... + validations: + required: true + + - type: textarea + id: use-case + attributes: + label: Use Case + description: Describe a specific use case or scenario where this feature would be beneficial. + placeholder: For example, when I want to... + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/update.yml b/.github/ISSUE_TEMPLATE/update.yml new file mode 100644 index 0000000..352718a --- /dev/null +++ b/.github/ISSUE_TEMPLATE/update.yml @@ -0,0 +1,41 @@ +name: Website Update Template +description: Template for updating the website content +title: "[Update]: " +labels: ["update"] +body: + - type: markdown + attributes: + value: | + Use this template to update the website content. Please provide details about the changes you are making such as adding new events, updating existing information, or improving the layout. + + - type: input + id: update-title + attributes: + label: Update Title + description: Provide a concise title for the update you are making. + placeholder: e.g., Add new event for Spring 2024 + validations: + required: true + + - type: dropdown + id: update-section + attributes: + label: Section to Update + description: Select the section of the website you are updating. + options: + - "About Us" + - "Projects" + - "Events" + - "Teams" + - "Resources" + validations: + required: true + + - type: textarea + id: update-description + attributes: + label: Update Description + description: Describe the changes you are making to the website content. + placeholder: I am updating the Events section to add a new event for Spring 2024 + validations: + required: true diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..b034848 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,13 @@ +### Description of the Pull Request + +### Related Tickets or Issues + +### Demo / Screenshot + +### Checklist + +- [ ] Bug +- [ ] Functionality +- [ ] Website Update + +### Additional Information diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..5f0889c --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,11 @@ +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for all configuration options: +# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file + +version: 2 +updates: + - package-ecosystem: "npm" # See documentation for possible values + directory: "/" # Location of package manifests + schedule: + interval: "weekly" diff --git a/.github/workflows/node.yml b/.github/workflows/node.yml index b8d6ff6..60a7296 100644 --- a/.github/workflows/node.yml +++ b/.github/workflows/node.yml @@ -5,33 +5,32 @@ name: Node.js CI on: push: - branches: [ "main" ] + branches: ["main"] pull_request: - branches: [ "main" ] + branches: ["main"] jobs: build: - runs-on: ubuntu-latest strategy: matrix: - node-version: [18.x, 20.x, 22.x] + node-version: [20.x, 22.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: - - uses: actions/checkout@v4 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v4 - with: - node-version: ${{ matrix.node-version }} - cache: 'npm' - - run: npm ci - - run: npm run build --if-present + - uses: actions/checkout@v4 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + cache: "npm" + - run: npm ci + - run: npm run build --if-present - - name: Deploy with gh-pages - run: | - git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git - npm run deploy -- -u "github-actions-bot " - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + - name: Deploy with gh-pages + run: | + git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git + npm run deploy -- -u "github-actions-bot " + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}