Skip to content

Commit

Permalink
Update commit_review.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sebaav12 authored Nov 7, 2024
1 parent 15f735d commit c78cb0b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/commit_review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
review:
runs-on: ubuntu-latest
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -19,9 +19,9 @@ jobs:
pip install code-diff-review
- name: Run Python script
env:
OPENAI_API_KEY: ${{ secrets.ASSISTANT_ID }}
OPENAI_API_KEY: ${{ secrets.OPENAI_KEY }}
OPENAI_ASSISTANT_ID: ${{ secrets.COMMIT_ASSISTANT }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GH_TOKEN: ${{ secrets.GH_API_KEY}}
REPO: ${{ github.repository }}
BRANCH: ${{ github.ref_name }}
GH_BEFORE: ${{ github.event.before }}
Expand All @@ -40,4 +40,4 @@ jobs:
--sha "$SHA" \
--message "$MESSAGE" \
--webhook "$WEBHOOK" \
--websecret "$WEBSECRET"
--websecret "$WEBSECRET"

0 comments on commit c78cb0b

Please sign in to comment.