mirror of
https://github.com/mainflux/mainflux.git
synced 2025-04-28 13:48:49 +08:00
Add Codeball code review (#1745)
Signed-off-by: Drasko Draskovic <drasko.draskovic@gmail.com>
This commit is contained in:
parent
442afb5dd9
commit
e6a3ce1fa2
19
.github/workflows/codeball.yaml
vendored
Normal file
19
.github/workflows/codeball.yaml
vendored
Normal 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"
|
@ -6,7 +6,7 @@ on:
|
|||||||
- master
|
- master
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
swagger:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
@ -24,6 +24,4 @@ jobs:
|
|||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
publish_dir: swagger-ui
|
publish_dir: swagger-ui
|
||||||
cname: api.mainflux.io
|
cname: api.mainflux.io
|
||||||
- name: Codeball AI Code Review
|
|
||||||
uses: sturdy-dev/codeball-action@v2.6.0
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user