Skip to content

Commit

Permalink
[.github]: update github templates and workflows (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
DarhkVoyd authored Dec 17, 2024
1 parent 7c974e1 commit b3e0c93
Show file tree
Hide file tree
Showing 6 changed files with 57 additions and 19 deletions.
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ body:
value: |
Thank you for reporting a bug! Please fill out the details below so we can help resolve the issue quickly.
- type: input
- type: textarea
id: description
attributes:
label: Description
Expand All @@ -26,14 +26,14 @@ body:
3. Scroll down to '...'
4. See error
- type: input
- type: textarea
id: expected_behavior
attributes:
label: Expected Behavior
description: "Describe what you expected to happen."
placeholder: "Expected outcome of the action."

- type: input
- type: textarea
id: actual_behavior
attributes:
label: Actual Behavior
Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ body:
value: |
Thanks for suggesting an update or addition to the documentation! Please fill out the details below.
- type: input
- type: textarea
id: description
attributes:
label: Description
description: "Describe the missing or unclear documentation."
placeholder: "Explain the specific area or topic that requires documentation."

- type: input
- type: textarea
id: reason_for_update
attributes:
label: Reason for Update
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ body:
value: |
Thanks for suggesting a feature! Please provide the necessary details below to help us evaluate the request.
- type: input
- type: textarea
id: description
attributes:
label: Feature Description
Expand Down
21 changes: 9 additions & 12 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,27 @@
<!-- The title should briefly describe the type of change (e.g., Bugfix: Fix issue with user login, Feature: Add new reporting dashboard) -->

## Description
**What does this PR do?**

<!-- What does this PR do?
Explain the change, feature, or bugfix in clear terms. Focus on what has been changed or added. Provide enough context for someone unfamiliar with the issue to understand the scope. -->
<!-- Explain the change, feature, or bugfix in clear terms. Focus on what has been changed or added. Provide enough context for someone unfamiliar with the issue to understand the scope. -->

## Motivation
**Why is this change necessary?**

<!-- Why is this change necessary?
Explain the reason for the change, whether it's to fix a bug, introduce a new feature, or improve performance. Highlight the value it brings and any pain points it solves. -->
<!-- Explain the reason for the change, whether it's to fix a bug, introduce a new feature, or improve performance. Highlight the value it brings and any pain points it solves. -->

## Implementation Details
**How was this change implemented?**

<!-- How was this change implemented?
Discuss the technical approach and reasoning behind the key decisions you made. Include any trade-offs, design considerations, or architectural changes that impacted the solution. If applicable, mention alternatives you considered. -->
<!-- Discuss the technical approach and reasoning behind the key decisions you made. Include any trade-offs, design considerations, or architectural changes that impacted the solution. If applicable, mention alternatives you considered. -->

## Screenshots / Visual Changes
**Screenshots / Visual Changes**

<!-- If applicable, include screenshots or GIFs that demonstrate visual changes, UI updates, or new features in action. Remove this section if it's not relevant. -->

## Related Issues
**Related Issues**

<!-- List the issues that this PR closes or relates to.
Use closing keywords like "Closes #123", "Fixes #456", or mention "Related to #789" for partially addressed issues. -->

## Additional Considerations
**Additional Considerations**

<!-- Any additional information or considerations that the reviewer should be aware of.
Mention anything that could impact other parts of the system, potential backward incompatibilities, or plans for future refactoring. -->
41 changes: 41 additions & 0 deletions .github/workflows/build-web-ext.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Build web-ext

on:
push:
paths:
- "web-ext/**"
pull_request:
paths:
- "web-ext/**"
workflow_dispatch:

jobs:
build_firefox:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Bun
uses: oven-sh/setup-bun@v1

- name: Install Dependencies
run: cd web-ext && bun install

- name: Build for Firefox
run: cd web-ext && bun run build:firefox

build_chrome:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Bun
uses: oven-sh/setup-bun@v1

- name: Install Dependencies
run: cd web-ext && bun install

- name: Build for Firefox
run: cd web-ext && bun run build
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and Deploy to Pages
name: Deploy Docs

on:
push:
Expand Down

0 comments on commit b3e0c93

Please sign in to comment.