Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
root = true

[*]
indent_size = 2
indent_style = space
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false
55 changes: 55 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: 🐛 Bug report
description: Report a bug to help us improve the template.
labels: [bug]
body:
- type: markdown
attributes:
value: |
Before reporting a bug, please search existing [issues](https://github.com/browser-use/browser-agent-template/issues). If the bug was already reported, add your reaction instead of opening a duplicate.
- type: textarea
id: env
attributes:
label: Environment
description: |
For example:
- OS: macOS 15
- Browser: Chrome 131
- Node.js: 24.x
- Package manager: npm 10.x
validations:
required: true
- type: input
id: version
attributes:
label: Version
placeholder: main or commit SHA
validations:
required: true
- type: textarea
id: reproduction
attributes:
label: Reproduction
description: Minimal steps to reproduce the issue.
placeholder: |
1. Clone the repo and follow Quick Start in README
2. ...
validations:
required: true
- type: textarea
id: description
attributes:
label: Description
description: What happened vs what you expected.
validations:
required: true
- type: textarea
id: additional
attributes:
label: Additional context
description: Screenshots, logs, or related configuration.
- type: textarea
id: logs
attributes:
label: Logs
description: Paste relevant terminal or browser logs (avoid screenshots of text).
render: shell
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: GitHub Discussions
url: https://github.com/browser-use/browser-agent-template/discussions
about: Ask questions and discuss ideas with the community
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: 🚀 Feature request
description: Suggest an idea or enhancement for the template.
labels: [enhancement]
body:
- type: markdown
attributes:
value: |
Before requesting a feature, please search existing [issues](https://github.com/browser-use/browser-agent-template/issues). If it was already requested, add your reaction instead of opening a duplicate.
- type: textarea
id: description
attributes:
label: Description
description: What would you like to add or improve, and what problem does it solve?
validations:
required: true
- type: textarea
id: additional
attributes:
label: Additional context
description: Mockups, links, or implementation ideas.
15 changes: 15 additions & 0 deletions .github/ISSUE_TEMPLATE/question.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: ❓ Question
description: Ask a question about setup, customization, or deployment.
labels: [question]
body:
- type: markdown
attributes:
value: |
Check [README](https://github.com/browser-use/browser-agent-template#readme) and [docs/](https://github.com/browser-use/browser-agent-template/tree/main/docs) first. For open-ended discussion, consider [GitHub Discussions](https://github.com/browser-use/browser-agent-template/discussions).
- type: textarea
id: description
attributes:
label: Question
description: What are you trying to do, and where are you stuck?
validations:
required: true
26 changes: 26 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<!---
☝️ PR title should follow conventional commits (https://conventionalcommits.org)

### Types
- breaking, feat, fix, build, ci, docs, enhancement, chore, perf, style, test, refactor, revert

### Scopes
- app (Next.js UI)
- agent (Eve agent)
- docs (documentation)
- deps (dependencies)
-->

### 🔗 Linked issue

<!-- If it resolves an open issue, link it here. For example "Resolves #123" -->

### 📚 Description

<!-- Describe your changes in detail. Why is this change required? -->

### 📝 Checklist

- [ ] I have linked an issue or discussion.
- [ ] I have updated the documentation accordingly.
- [ ] `npm run typecheck` passes locally.
44 changes: 44 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
changelog:
exclude:
labels:
- ignore-for-release
categories:
- title: Breaking Changes 💥
labels:
- breaking
- title: Features 🚀
labels:
- feature
- title: Enhancements 🌈
labels:
- enhancement
- title: Bug Fixes 🐞
labels:
- bug
- title: Build System 🛠
labels:
- build
- title: Continuous Integration 🔄
labels:
- ci
- title: Documentation 📚
labels:
- documentation
- title: Tests 🧪
labels:
- test
- title: Refactoring 🛠
labels:
- refactor
- title: Dependency Updates 📦
labels:
- dependencies
- title: Performance Improvements ⚡️
labels:
- performance
- title: Style 💅
labels:
- style
- title: Revert 🔄
labels:
- revert
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: CI

on:
push:
branches: [main]
pull_request:
branches: [main]

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6

- uses: actions/setup-node@v6
with:
node-version: 24
cache: npm

- run: npm ci
- run: npm run typecheck
- run: npm run build
66 changes: 66 additions & 0 deletions .github/workflows/semantic-pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: Validate PR title

on:
pull_request:
types:
- opened
- reopened
- edited
- synchronize

permissions:
pull-requests: write

jobs:
validate-pr:
name: Validate PR title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6
id: lint_pr_title
with:
scopes: |
deps
app
agent
docs
types: |
breaking
feat
fix
build
ci
docs
enhancement
chore
performance
style
test
refactor
revert
subjectPattern: ^(?![A-Z]).+$
subjectPatternError: |
The subject "{subject}" found in the pull request title "{title}"
didn't match the configured pattern. Please ensure that the subject
doesn't start with an uppercase character.
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- uses: marocchino/sticky-pull-request-comment@773744901bac0e8cbb5a0dc842800d45e9b2b405 # v2.9.4
if: always() && (steps.lint_pr_title.outputs.error_message != null)
with:
header: pr-title-lint-error
message: |
We require pull request titles to follow the [Conventional Commits specification](https://www.conventionalcommits.org/en/v1.0.0/).

Details:

```
${{ steps.lint_pr_title.outputs.error_message }}
```

- if: ${{ steps.lint_pr_title.outputs.error_message == null }}
uses: marocchino/sticky-pull-request-comment@773744901bac0e8cbb5a0dc842800d45e9b2b405 # v2.9.4
with:
header: pr-title-lint-error
delete: true
Loading
Loading