Skip to content

Commit da72c09

Browse files
committed
ci: change to access private repo
1 parent 19b7034 commit da72c09

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/pr-review.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,16 @@ jobs:
1717
with:
1818
fetch-depth: 0
1919

20+
- name: Pull pull-request-bot action
21+
run: git clone --depth 1 --branch v2 https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/nventive/pull-request-bot.git .github/actions/pull-request-bot
22+
2023
- name: Set up Python
2124
uses: actions/setup-python@v5
2225
with:
2326
python-version: "3.11"
2427

2528
- name: Run Pull Request Bot
26-
uses: nventive/pull-request-bot@v2
27-
with:
28-
api-key: ${{ secrets.ANTHROPIC_API_KEY }}
29-
config-path: "./pull-request-bot.json"
29+
run: node .github/actions/pull-request-bot/dist/index.js
30+
env:
31+
INPUT_API-KEY: ${{ secrets.ANTHROPIC_API_KEY }}
32+
INPUT_CONFIG-PATH: "./pull-request-bot.json"

0 commit comments

Comments
 (0)