From 8dcbd1b2eddae7b39d04cd50f9c48e3504389029 Mon Sep 17 00:00:00 2001 From: Ben M Date: Wed, 15 Feb 2023 09:47:08 -0500 Subject: [PATCH 1/2] Making our add to triage workflow callable from other projects inside the Cypress-io org in Github --- .github/workflows/triage_add_to_project.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/triage_add_to_project.yml b/.github/workflows/triage_add_to_project.yml index 2a5f775d378..a9c9e1e0420 100644 --- a/.github/workflows/triage_add_to_project.yml +++ b/.github/workflows/triage_add_to_project.yml @@ -1,6 +1,10 @@ name: 'Triage: add issue/PR to project' on: + workflow_call: + secrets: + ADD_TO_PROJECT_TOKEN: + required: true issues: types: - opened From 6398207fc3945db9587efc51d0a6a612715bf13c Mon Sep 17 00:00:00 2001 From: Ben M Date: Wed, 15 Feb 2023 10:03:42 -0500 Subject: [PATCH 2/2] chore: adding comments to explain new part of the code. --- .github/workflows/triage_add_to_project.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/triage_add_to_project.yml b/.github/workflows/triage_add_to_project.yml index a9c9e1e0420..11e0b99f68a 100644 --- a/.github/workflows/triage_add_to_project.yml +++ b/.github/workflows/triage_add_to_project.yml @@ -1,6 +1,7 @@ name: 'Triage: add issue/PR to project' on: + # makes this workflow reusable workflow_call: secrets: ADD_TO_PROJECT_TOKEN: