Skip to content

Commit 3ec38db

Browse files
temp upload to overwatch
1 parent 427b19e commit 3ec38db

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Bug Prediction (Overwatch)
2+
3+
on:
4+
pull_request:
5+
types:
6+
- opened
7+
- synchronize
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
upload-overwatch:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v4
18+
19+
- name: Install Overwatch CLI
20+
run: |
21+
curl -o overwatch-cli https://overwatch.codecov.io/linux/cli
22+
chmod +x overwatch-cli
23+
# Using --upload-empty-on-error flag to force this step through.
24+
# This workflow is a temporary workaround until this alpha feature
25+
# is merged into AI PR review
26+
- name: Run Overwatch CLI
27+
run: |
28+
./overwatch-cli \
29+
--auth-token ${{ secrets.OVERWATCH_SENTRY_AUTH_TOKEN }} \
30+
--organization-slug sentry \
31+
--upload-empty-on-error \
32+
typescript --package-manager pnpm --eslint-pattern src

0 commit comments

Comments
 (0)