From 1f33b212142401e732e0847cef46636a69ece0dd Mon Sep 17 00:00:00 2001 From: Ben M Date: Tue, 21 Feb 2023 15:39:47 -0500 Subject: [PATCH] chore: add repo as a parameter to handle issues outside of cypress --- .github/workflows/triage_closed_issue_comment.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/triage_closed_issue_comment.yml b/.github/workflows/triage_closed_issue_comment.yml index adfea52a531..fc35c8c2b65 100644 --- a/.github/workflows/triage_closed_issue_comment.yml +++ b/.github/workflows/triage_closed_issue_comment.yml @@ -2,6 +2,11 @@ name: 'Triage: closed issue comment' on: # makes this workflow reusable workflow_call: + inputs: + calling-repo: + required: true + type: string + default: 'cypress' secrets: ADD_TO_TRIAGE_BOARD_TOKEN: required: true @@ -21,7 +26,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.ADD_TO_TRIAGE_BOARD_TOKEN }} ORGANIZATION: 'cypress-io' - REPOSITORY: 'cypress' + REPOSITORY: ${{ inputs.calling-repo }} PROJECT_NUMBER: 9 ISSUE_NUMBER: ${{ github.event.issue.number }} run: |