mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-08-27 04:08:46 +00:00
fix(ci): use pull_request_target so claude bot gets secrets on fork PRs
This commit is contained in:
parent
97c02ef69f
commit
d20b549b04
1 changed files with 2 additions and 2 deletions
4
.github/workflows/claude-bot.yml
vendored
4
.github/workflows/claude-bot.yml
vendored
|
|
@ -5,7 +5,7 @@ on:
|
|||
types: [opened]
|
||||
issue_comment:
|
||||
types: [created]
|
||||
pull_request:
|
||||
pull_request_target:
|
||||
types: [opened]
|
||||
|
||||
permissions:
|
||||
|
|
@ -265,7 +265,7 @@ jobs:
|
|||
code, run builds/tests, commit, or open a PR.
|
||||
|
||||
handle-pr:
|
||||
if: github.event_name == 'pull_request'
|
||||
if: github.event_name == 'pull_request_target'
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue