Skip to content

Commit

Permalink
Remove Code Review from Build and reenable its stand alone
Browse files Browse the repository at this point in the history
  • Loading branch information
MrHinsh committed Jul 16, 2024
1 parent 17581c2 commit b9f71c8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 20 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/code-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,15 @@ jobs:
code-review:
runs-on: ubuntu-latest
steps:
- uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ env.APP_ID }}
private-key: ${{ env.PRIVATE_KEY }}
- uses: fitomad/github-chatgpt-integration@main
with:
openai-api-key: ${{ secrets.OPENAI_API_KEY }}
github-token: ${{ secrets.GH_TOKEN }}
github-token: ${{ steps.app-token.outputs.token }}
github-pr-id: ${{ github.event.number }}
dev-lang: c#
openai-max-tokens: 4096
19 changes: 0 additions & 19 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -215,25 +215,6 @@ jobs:
name: AzureDevOpsMigrationTools-Packages
path: ./staging/**

# Code Review
code-review:
name: "Code Review Bot "
runs-on: ubuntu-latest
needs: [Setup]
steps:
- uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ env.APP_ID }}
private-key: ${{ env.PRIVATE_KEY }}
- uses: fitomad/github-chatgpt-integration@main
with:
openai-api-key: ${{ secrets.OPENAI_API_KEY }}
github-token: ${{ steps.app-token.outputs.token }}
github-pr-id: ${{ github.event.number }}
dev-lang: c#
openai-max-tokens: 4096

# Build Docs
BuildDocs:
name: "Build Documentation output"
Expand Down

0 comments on commit b9f71c8

Please sign in to comment.