Skip to content

Commit 7b676f1

Browse files
committed
merge master
2 parents 9c03b6a + bb8e6c4 commit 7b676f1

File tree

263 files changed

+12353
-10069
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

263 files changed

+12353
-10069
lines changed

.github/review.polkacodes.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
rules:
2+
- repo: polka-codes/prompts
3+
path: review/preamble.md
4+
branch: master
5+
- repo: polka-codes/prompts
6+
path: review/rust.md
7+
branch: master
8+
- repo: polka-codes/prompts
9+
path: review/polkadot-sdk.md
10+
branch: master
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: Polka Codes Review PR Handler
2+
3+
on:
4+
pull_request:
5+
types: [opened]
6+
workflow_dispatch:
7+
inputs:
8+
pr_number:
9+
description: 'PR number to review'
10+
required: true
11+
type: number
12+
13+
permissions:
14+
contents: read
15+
pull-requests: write
16+
17+
concurrency:
18+
group: review-pr-${{ github.event.inputs.pr_number || github.event.number }}
19+
cancel-in-progress: true
20+
21+
jobs:
22+
handle:
23+
timeout-minutes: 30
24+
runs-on: ubuntu-latest
25+
steps:
26+
- name: Checkout repository
27+
uses: actions/checkout@v4
28+
with:
29+
fetch-depth: 0
30+
31+
- uses: google-github-actions/auth@v2
32+
with:
33+
credentials_json: ${{ secrets.GOOGLE_CREDENTIALS }}
34+
35+
- name: Process PR
36+
uses: polka-codes/action@master
37+
with:
38+
pr_number: ${{ github.event.inputs.pr_number || github.event.number }}
39+
review: true
40+
config: .github/review.polkacodes.yml
41+
env:
42+
POLKA_API_PROVIDER: google-vertex
43+
POLKA_MODEL: gemini-3-pro-preview
44+
GITHUB_TOKEN: ${{ github.token }}
45+
GOOGLE_VERTEX_LOCATION: global
46+
GOOGLE_VERTEX_PROJECT: ${{ secrets.GOOGLE_VERTEX_PROJECT }}

0 commit comments

Comments
 (0)