Skip to content

Commit 284e4ed

Browse files
authored
fix(review): align interaction workflow authority (#468)
* fix(review): align interaction workflow authority * chore(review): rotate Codex auth namespace
1 parent 10def4c commit 284e4ed

2 files changed

Lines changed: 11 additions & 11 deletions

File tree

.github/workflows/reviewrouter-codex.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: ReviewRouter Codex OAuth [namespace=sns_3c555371c528609493a910486221e465;epoch=4;secret=REVIEWROUTER_CODEX_AUTH_JSON_R1163183284_Pc11a7080815e939d_E4_3c555371c528609493a910486221e465]
1+
name: ReviewRouter Codex OAuth [namespace=sns_69c382e2f47618c2e3b8922da21dee46;epoch=5;secret=REVIEWROUTER_CODEX_AUTH_JSON_R1163183284_Pc11a7080815e939d_E5_69c382e2f47618c2e3b8922da21dee46]
22

33
run-name: ${{ format('ReviewRouter review PR {0} at {1}', github.event.pull_request.number, github.event.pull_request.head.sha) }}
44

@@ -33,7 +33,7 @@ jobs:
3333
max_changed_lines: ${{ vars.REVIEW_ROUTER_MAX_CHANGED_LINES }}
3434
review_timeout_minutes: ${{ fromJSON(vars.REVIEW_ROUTER_TIMEOUT_MINUTES || '60') }}
3535
secrets:
36-
CODEX_AUTH_JSON: ${{ secrets.REVIEWROUTER_CODEX_AUTH_JSON_R1163183284_Pc11a7080815e939d_E4_3c555371c528609493a910486221e465 }}
36+
CODEX_AUTH_JSON: ${{ secrets.REVIEWROUTER_CODEX_AUTH_JSON_R1163183284_Pc11a7080815e939d_E5_69c382e2f47618c2e3b8922da21dee46 }}
3737

3838
codex-refresh:
3939
name: codex-refresh
@@ -54,4 +54,4 @@ jobs:
5454
api-url: "https://api.reviewrouter.site"
5555
provider-instance-id: "codex-rotating:1163183284"
5656
workflow-schema-version: "4"
57-
auth-json: ${{ secrets.REVIEWROUTER_CODEX_AUTH_JSON_R1163183284_Pc11a7080815e939d_E4_3c555371c528609493a910486221e465 }}
57+
auth-json: ${{ secrets.REVIEWROUTER_CODEX_AUTH_JSON_R1163183284_Pc11a7080815e939d_E5_69c382e2f47618c2e3b8922da21dee46 }}

.github/workflows/reviewrouter-interaction.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,18 @@ on:
77
types: [created, edited]
88
workflow_dispatch:
99

10-
permissions:
11-
actions: write
12-
contents: read
13-
pull-requests: write
14-
issues: write
15-
id-token: write
10+
permissions: {}
1611

1712
jobs:
1813
interaction:
1914
name: interaction
2015
runs-on: ubuntu-24.04
2116
if: ${{ github.event_name == 'workflow_dispatch' || ((github.event_name != 'issue_comment' || github.event.issue.pull_request) && github.event.comment.user.type != 'Bot') }}
17+
permissions:
18+
contents: read
19+
issues: read
20+
pull-requests: read
21+
id-token: write
2222
env:
2323
RR_RUNTIME_REF: "a29e058d2614c469e9ad29f62b0201a57f3a2e15"
2424
REVIEWROUTER_API_URL: "https://api.reviewrouter.site"
@@ -35,15 +35,15 @@ jobs:
3535
REVIEW_ROUTER_MEMORY_COMMAND_ENDPOINT: "/api/action/v1/memory-commands"
3636
steps:
3737
- name: Checkout ReviewRouter interaction runtime
38-
uses: actions/checkout@v6
38+
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803
3939
with:
4040
repository: 777genius/review-router
4141
ref: ${{ env.RR_RUNTIME_REF }}
4242
path: .reviewrouter-runtime
4343
persist-credentials: false
4444

4545
- name: Setup Node.js
46-
uses: actions/setup-node@v6
46+
uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38
4747
with:
4848
node-version: "24"
4949

0 commit comments

Comments
 (0)