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

This commit is contained in:
Jeremiah Lowin 2025-08-20 14:40:16 -04:00 committed by GitHub
commit 04ba8619fb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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: