Skip to content

Commit bc17cec

Browse files
authored
[codex] add code review caller workflow (#4)
* 🔧 chore: add code review workflow caller * 🔧 chore(ci): pin code-review ref to v1 - 🔧 avoid unreviewed changes from a floating workflow ref
1 parent 6a70fc4 commit bc17cec

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/code-review.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Code Review
2+
3+
on:
4+
pull_request:
5+
types: [opened, ready_for_review, reopened, synchronize]
6+
7+
permissions:
8+
actions: read
9+
contents: read
10+
id-token: write
11+
issues: write
12+
pull-requests: write
13+
14+
jobs:
15+
code-review:
16+
if: >-
17+
github.event.pull_request &&
18+
!github.event.pull_request.draft &&
19+
github.event.pull_request.head.repo.full_name == github.repository
20+
uses: taptap/.github/.github/workflows/code-review.yml@v1
21+
secrets:
22+
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}

0 commit comments

Comments
 (0)