diff --git a/.github/workflows/code-review-quality.yml b/.github/workflows/code-review-quality.yml index e95ce7e9..a396952c 100644 --- a/.github/workflows/code-review-quality.yml +++ b/.github/workflows/code-review-quality.yml @@ -1,6 +1,6 @@ # The MIT License (MIT) # -# Copyright (c) 2024 Aliaksei Bialiauski +# Copyright (c) 2016-2024 Objectionary.com # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -19,8 +19,9 @@ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. +--- name: code-review -'on': +on: pull_request_review: types: [ submitted ] permissions: @@ -32,7 +33,8 @@ jobs: runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - - uses: docker://tracehub/code-review-action:0.2.1 + - uses: docker://tracehub/code-review-action:0.3.0 with: - deepinfra_token: ${{ secrets.DEEPINFRA_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }} + deepinfra_token: ${{ secrets.DEEPINFRA_TOKEN }} + deepinfra_model: Phind/Phind-CodeLlama-34B-v2