-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into github-integration-guide
- Loading branch information
Showing
55 changed files
with
1,383 additions
and
1,072 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_size = 2 | ||
indent_style = tab | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[{*.yaml,*.yml}] | ||
indent_style = space |
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.ts @coderabbitai/typescript-reviewers |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: Fix | ||
|
||
on: | ||
pull_request: | ||
branches: main | ||
|
||
jobs: | ||
fix: | ||
runs-on: ubuntu-latest | ||
|
||
permissions: | ||
contents: write | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.head_ref }} | ||
- uses: pnpm/action-setup@v4 | ||
with: | ||
version: latest | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: latest | ||
cache: pnpm | ||
- run: pnpm install | ||
- run: pnpm run lint:fix | ||
|
||
- id: diff | ||
run: | | ||
if [[ -n $(git status --porcelain) ]]; then | ||
echo 'changes=true' >>"$GITHUB_OUTPUT" | ||
fi | ||
- if: steps.diff.outputs.changes == 'true' | ||
name: Commit and push | ||
run: | | ||
git config user.name 'github-actions[bot]' | ||
git config user.email '41898282+github-actions[bot]@users.noreply.github.com' | ||
git commit --all --message '🎨 pnpm run lint:fix' --message '[dependabot skip]' | ||
git push |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Node.js CI | ||
|
||
on: | ||
push: | ||
branches: main | ||
pull_request: | ||
branches: main | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: pnpm/action-setup@v4 | ||
with: | ||
version: latest | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: latest | ||
cache: pnpm | ||
- run: pnpm install --frozen-lockfile --strict-peer-dependencies | ||
- run: pnpm run build | ||
- run: pnpm run lint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,3 +22,6 @@ yarn-debug.log* | |
yarn-error.log* | ||
package-lock.json | ||
yarn.lock | ||
|
||
# pnpm | ||
.pnpm-store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
gitignore: true |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
default: true | ||
first-line-heading: false | ||
line-length: false | ||
link-fragments: false | ||
no-duplicate-heading: | ||
siblings_only: true | ||
no-inline-html: false | ||
single-title: false |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
.pnpm-store/ | ||
build/ | ||
dist/ | ||
node_modules/ | ||
package-lock.json | ||
pnpm-lock.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
arrowParens: avoid | ||
semi: false | ||
trailingComma: all | ||
useTabs: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"recommendations": [ | ||
"davidanson.vscode-markdownlint", | ||
"editorconfig.editorconfig", | ||
"esbenp.prettier-vscode" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"[css][github-actions-workflow][html][javascript][javascriptreact][json][jsonc][markdown][postcss][scss][typescript][typescriptreact][yaml]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"editor.minimap.maxColumn": 80, | ||
"editor.rulers": [80] | ||
}, | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll": "always", | ||
"source.fixAll.markdownlint": "always", | ||
"source.organizeImports": "always" | ||
}, | ||
"editor.formatOnSave": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
./docs/changelog.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,25 +24,30 @@ There are various ways you can contribute: | |
|
||
1. **Fork** the repository to your GitHub account by visiting [CodeRabbit Docs GitHub repo](https://github.com/coderabbitai/coderabbit-docs). | ||
2. **Clone** your fork locally: | ||
|
||
```shell | ||
git clone [email protected]:YOUR_USERNAME/coderabbit-docs.git | ||
|
||
``` | ||
|
||
3. Create a new branch: | ||
```shell | ||
git checkout -b your_username/feature_description | ||
``` | ||
|
||
```shell | ||
git checkout -b your_username/feature_description | ||
``` | ||
|
||
4. Implement the changes then commit and push the changes from your working branch: | ||
```shell | ||
git commit -m "docs: add explanation about [section]" | ||
git push origin your_username/feature_description | ||
``` | ||
|
||
```shell | ||
git commit -m "docs: add explanation about [section]" | ||
git push origin your_username/feature_description | ||
``` | ||
|
||
## Commit Message Format 💬 | ||
|
||
We require all commits in this repository to adhere to the following commit message format. | ||
|
||
``` | ||
```txt | ||
<type>: <description> (#<issue number>) | ||
[optional body] | ||
|
@@ -52,7 +57,9 @@ This format is based on [Conventional Commits](https://www.conventionalcommits.o | |
Please refer to the Conventional Commits specification for more details. | ||
## Keeping your Fork Up-to-Date 🆕 | ||
To keep your fork updated with the latest changes from the upstream repository: | ||
```shell | ||
git remote add upstream https://github.com/coderabbitai/coderabbit-docs.git | ||
git fetch upstream | ||
|
@@ -64,4 +71,4 @@ git rebase upstream/main | |
- Work on **one issue at a time** to avoid confusion. | ||
- If you need help, post in the `#support` channel on Discord. | ||
- Test your changes locally before submitting a PR. | ||
- While AI is cool, minimize its use for `direct team communication`. We value concise, genuine exchanges over scripted messages. | ||
- While AI is cool, minimize its use for _direct team communication_. We value concise, genuine exchanges over scripted messages. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
module.exports = { | ||
presets: [require.resolve('@docusaurus/core/lib/babel/preset')], | ||
}; | ||
presets: [require.resolve("@docusaurus/core/lib/babel/preset")], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.