Skip to content

Commit

Permalink
Merge branch 'main' into rp--move-to-pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
raducristianpopa committed Dec 12, 2023
2 parents a08f195 + bfc0ea4 commit 8ed634c
Show file tree
Hide file tree
Showing 9 changed files with 431 additions and 1 deletion.
99 changes: 99 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
name: Bug report
description: File a bug report
title: '[BUG] '
labels: ['bug', 'triage']
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
- type: textarea
id: reproduce
attributes:
label: Steps to reproduce
description: Explain how the behavior can be reproduced.
value: |
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. Click on '...'
validations:
required: true

- type: textarea
id: expected
attributes:
label: Expected result
description: A clear and concise description of what you expected to happen.
validations:
required: true

- type: textarea
id: actual
attributes:
label: Actual result
description: A clear and concise description of what is happening.
validations:
required: true

- type: textarea
id: screenshots
attributes:
label: Screenshots or videos
description: If applicable, add screenshots and/or a short video to help explain your problem.

- type: textarea
id: additional-context
attributes:
label: Additional context
description: Add any other context about the problem here.

- type: dropdown
id: os
attributes:
label: Operating system
description: What operating system are you seeing the problem on?
multiple: true
options:
- Windows
- macOS
- Linux
- Android
- iOS
validations:
required: true

- type: input
id: os-version
attributes:
label: Operating system version
description: What version of the operating system(s) are you seeing the problem on?

- type: dropdown
id: browsers
attributes:
label: Browsers
description: What browser(s) are you seeing the problem on?
multiple: true
options:
- Chrome
- Microsoft Edge
- Firefox
- Opera
validations:
required: true

- type: input
id: browser-version
attributes:
label: Browser version
description: What version of the browser(s) are you seeing the problem on?

- type: input
id: version
attributes:
label: Extension version
description: What version of our extension are you running?
validations:
required: true
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: true
contact_links:
- name: Ask a question
url: https://github.com/interledger/web-monetization-extension/discussions
about: Ask questions and discuss with other community members
31 changes: 31 additions & 0 deletions .github/ISSUE_TEMPLATE/feature-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Feature request
description: Submit a feature request
title: '[FEATURE REQUEST] '
labels: ['discussion: idea', 'triage']
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this feature request! Please fill out this form as completely as possible. If this issue has a `needs approval` label, please do not start coding yet. Wait until a core member approves the feature request by removing this label.
- type: textarea
id: describe
attributes:
label: Describe the feature you would like to request
description: A clear and concise description of what you want and what your use case is.
validations:
required: true

- type: textarea
id: solution
attributes:
label: Describe the solution you would like
description: A clear and concise description of what you want to happen.
validations:
required: true

- type: textarea
id: context
attributes:
label: Additional context
description: Add any other context or screenshots about the feature request here.
18 changes: 18 additions & 0 deletions .github/ISSUE_TEMPLATE/feature.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Feature
description: Scope out a feature implementation
body:
- type: textarea
id: context
attributes:
label: Context
description: A clear and concise description of the feature.
validations:
required: true

- type: textarea
id: todos
attributes:
label: Todos
description: List of todos to complete the feature.
validations:
required: true
24 changes: 24 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<!--
Pull request titles should follow conventional commit format.
https://www.conventionalcommits.org/en/v1.0.0/
-->

## Context

<!--
What were you trying to do?
Provide further details about how the feature should be tested/reviewed if necessary.
If the PR is related to an open issue(s) please provide a list of them.
Example:
- closes (or fixes) #<issue number>
- closes (or fixes) #<issue number>
-->

Closes #<issue number>.

## Changes proposed in this pull request

<!--
Provide a succinct description of what this pull request entails.
-->
31 changes: 31 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
'area: background':
- any:
- changed-files:
- any-glob-to-any-file: 'src/background/**/*'

'area: ci':
- any:
- changed-files:
- any-glob-to-any-file: '.github/**/*.yml'

'area: content':
- any:
- changed-files:
- any-glob-to-any-file: 'src/content/**/*'

'area: popup':
- any:
- changed-files:
- any-glob-to-any-file: 'src/popup/**/*'

'area: documentation':
- any:
- changed-files:
- all-globs-to-any-file:
- '**/*.md'
- '!.github/actions/**/*.md'

'area: tests':
- any:
- changed-files:
- any-glob-to-any-file: '**/*.test.ts'
21 changes: 21 additions & 0 deletions .github/workflows/labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: PR Labeler

on:
pull_request_target:
types:
- opened
- reopened
- synchronize

jobs:
label:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-22.04
steps:
- name: Add labels
uses: actions/labeler@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
sync-labels: true
Loading

0 comments on commit 8ed634c

Please sign in to comment.