We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cf3f82a + 70c1654 commit 7e1b5c9Copy full SHA for 7e1b5c9
.github/workflows/codex-review.yml
@@ -0,0 +1,28 @@
1
+name: Automated Codex Reviews
2
+
3
+on:
4
+ pull_request:
5
+ branches: [ master ]
6
+ types: [ opened, synchronize, ready_for_review ]
7
8
+jobs:
9
10
+ trigger-codex:
11
+ runs-on: ubuntu-latest
12
+ if: github.event.pull_request.draft == false
13
14
+ permissions:
15
+ pull-requests: write
16
17
+ steps:
18
+ - name: Trigger the Codex
19
+ uses: actions/github-script@v7
20
+ with:
21
+ script: |
22
+ const prNumber = context.payload.pull_request.number;
23
+ await github.rest.issues.createComment({
24
+ owner: context.repo.owner,
25
+ repo: context.repo.repo,
26
+ issue_number: prNumber,
27
+ body: '@codex review'
28
+ });
0 commit comments