Skip to content

πŸš€ The fast, Pythonic way to build MCP servers and clients.

Update marvin-label-triage.yml (#1557)

Jeremiah Lowin04ba8619fb7d
diff --git a/.github/workflows/marvin-label-triage.yml b/.github/workflows/marvin-label-triage.yml
index d5fee1a9c..ae26a7f6e 100644
--- a/.github/workflows/marvin-label-triage.yml
+++ b/.github/workflows/marvin-label-triage.yml
@@ -3,7 +3,7 @@ description: Automatically triage GitHub issues and PRs using Marvin
on:
issues:
types: [opened]
- pull_request:
+ pull_request_target:
types: [opened]
workflow_dispatch:
inputs:
@@ -26,8 +26,11 @@ jobs:
pull-requests: write
steps:
- - name: Checkout repository
+ - name: Checkout base repository
uses: actions/checkout@v4
+ with:
+ repository: ${{ github.repository }}
+ ref: ${{ github.event.repository.default_branch }}
- name: Generate Marvin App token
id: marvin-token
@@ -47,7 +50,7 @@ jobs:
Issue/PR Information:
- REPO: ${{ github.repository }}
- NUMBER: ${{ github.event.issue.number || github.event.pull_request.number || inputs.issue_number }}
- - TYPE: ${{ github.event.issue && 'issue' || github.event.pull_request && 'pull_request' || 'unknown' }}
+ - TYPE: ${{ github.event.issue && 'issue' || (github.event.pull_request && 'pull_request') || 'unknown' }}
TRIAGE PROCESS: