mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-08-04 14:46:57 +00:00
fix(ci): check out PR branch for mention bot so commits land on the PR
This commit is contained in:
parent
caf80009c8
commit
4ab2dffa61
1 changed files with 5 additions and 0 deletions
5
.github/workflows/claude-bot.yml
vendored
5
.github/workflows/claude-bot.yml
vendored
|
|
@ -419,6 +419,11 @@ jobs:
|
|||
- uses: actions/checkout@v7
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Check out the PR branch when the comment is on a pull request
|
||||
if: github.event.issue.pull_request
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: gh pr checkout ${{ github.event.issue.number }}
|
||||
- uses: anthropics/claude-code-action@v1
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue