mirror of
https://github.com/nexu-io/open-design.git
synced 2026-06-01 03:14:35 +07:00
fix(actions): map pull_request_target to contributor bot event (#1092)
This commit is contained in:
parent
5db578123e
commit
3bcb3547d1
1 changed files with 6 additions and 1 deletions
7
.github/workflows/contributor-card-bot.yml
vendored
7
.github/workflows/contributor-card-bot.yml
vendored
|
|
@ -50,4 +50,9 @@ jobs:
|
|||
BOT_APP_ID: ${{ secrets.BOT_APP_ID }}
|
||||
BOT_APP_INSTALLATION_ID: ${{ secrets.BOT_APP_INSTALLATION_ID }}
|
||||
BOT_APP_PRIVATE_KEY: ${{ secrets.BOT_APP_PRIVATE_KEY }}
|
||||
run: pnpm exec tsx scripts/action-handler.ts
|
||||
run: |
|
||||
if [ "$GITHUB_EVENT_NAME" = "pull_request_target" ]; then
|
||||
GITHUB_EVENT_NAME=pull_request pnpm exec tsx scripts/action-handler.ts
|
||||
else
|
||||
pnpm exec tsx scripts/action-handler.ts
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue