1
0
mirror of https://github.com/mainflux/mainflux.git synced 2025-04-24 13:48:49 +08:00

Add Codeball code review (#1745)

Signed-off-by: Drasko Draskovic <drasko.draskovic@gmail.com>
This commit is contained in:
Drasko DRASKOVIC 2023-03-14 23:13:20 +01:00 committed by GitHub
parent 442afb5dd9
commit e6a3ce1fa2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 3 deletions

19
.github/workflows/codeball.yaml vendored Normal file
View File

@ -0,0 +1,19 @@
name: Codeball
on:
pull_request: {}
pull_request_review_comment:
types: [created, edited]
jobs:
codeball:
runs-on: ubuntu-latest
name: Codeball
steps:
- name: Codeball
uses: sturdy-dev/codeball-action@v2
with:
# For all configuration options see https://github.com/sturdy-dev/codeball-action/blob/v2/action.yml
approvePullRequests: "true"
labelPullRequestsWhenApproved: "true"
labelPullRequestsWhenReviewNeeded: "true"
failJobsWhenReviewNeeded: "false"

View File

@ -6,7 +6,7 @@ on:
- master
jobs:
deploy:
swagger:
runs-on: ubuntu-latest
steps:
- name: Checkout
@ -24,6 +24,4 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: swagger-ui
cname: api.mainflux.io
- name: Codeball AI Code Review
uses: sturdy-dev/codeball-action@v2.6.0