-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: add
pr_agent.yml
workflow (#171)
Update all dependencies and `pr_agent.yml` workflow
- Loading branch information
Showing
13 changed files
with
902 additions
and
490 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,2 @@ | ||
--- | ||
--- |
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,22 @@ | ||
on: | ||
pull_request: | ||
issue_comment: | ||
|
||
jobs: | ||
pr_agent_job: | ||
name: Run pr agent on every pull request, respond to user comments | ||
|
||
permissions: | ||
issues: write | ||
pull-requests: write | ||
contents: write | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: PR Agent action step | ||
id: pragent | ||
uses: Codium-ai/pr-agent@main | ||
env: | ||
OPENAI_KEY: ${{ secrets.OPENAI_KEY }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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,4 +1 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
pnpm exec commitlint --edit "$1" |
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,6 +1,3 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
[ -n "$CI" ] && exit 0 | ||
|
||
pnpm exec lint-staged |
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 |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
"clean:root": "rm -rf .turbo && rm -rf node_modules", | ||
"format": "prettier --write \"**/*.{cjs,js,mjs,ts,json,md,mdx,yaml,yml}\"", | ||
"lint": "turbo run lint", | ||
"prepare": "ts-node ./scripts/prepare.ts", | ||
"prepare": "husky", | ||
"release": "changeset publish", | ||
"sort-package-json": "pnpm dlx sort-package-json && turbo run sort-package-json", | ||
"version-packages": "changeset version && pnpm run format" | ||
|
@@ -27,20 +27,21 @@ | |
}, | ||
"devDependencies": { | ||
"@changesets/cli": "^2.27.1", | ||
"@commitlint/cli": "^19.0.0", | ||
"@commitlint/cli": "^19.2.1", | ||
"@mheob/changeset-changelog": "^3.0.1", | ||
"@mheob/commitlint-config": "workspace:*", | ||
"@mheob/eslint-config": "workspace:*", | ||
"@mheob/prettier-config": "workspace:*", | ||
"@types/node": "^20.11.16", | ||
"@types/node": "^20.11.30", | ||
"commitizen": "^4.3.0", | ||
"cz-git": "^1.8.0", | ||
"eslint": "^8.56.0", | ||
"husky": "^8.0.3", | ||
"cz-git": "^1.9.0", | ||
"eslint": "^8.57.0", | ||
"husky": "^9.0.11", | ||
"lint-staged": "^15.2.2", | ||
"prettier": "^3.2.5", | ||
"ts-node": "^10.9.2", | ||
"turbo": "^1.12.2", | ||
"typescript": "^5.3.3" | ||
} | ||
"turbo": "^1.13.0", | ||
"typescript": "^5.4.3" | ||
}, | ||
"packageManager": "[email protected]+sha256.4b4efa12490e5055d59b9b9fc9438b7d581a6b7af3b5675eb5c5f447cee1a589" | ||
} |
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
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.