-
Notifications
You must be signed in to change notification settings - Fork 1
41 lines (36 loc) · 948 Bytes
/
codeball.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#### THIS FILE IS MANAGED BY AN AUTOMATED WORKFLOW ####
name: Codeball
on:
pull_request:
branches:
- main
- master
- "!repo-sync/**"
- "!renovate/**"
- "!update/pre-commit-hooks/**"
workflow_dispatch:
permissions:
contents: read
issues: write
pull-requests: write
checks: write
statuses: write
actions: read
# One build per branch, cancel out of date builds
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
codeball-review:
runs-on: ubuntu-latest
timeout-minutes: 10
if: ${{ !github.event.pull_request.draft }}
name: Run Codeball Code Review
steps:
- name: Codeball AI Actions
uses: sturdy-dev/codeball-action@v2
with:
approvePullRequests: "false"
labelPullRequestsWhenApproved: "true"
labelPullRequestsWhenReviewNeeded: "true"
failJobsWhenReviewNeeded: "false"