Refactor GHA preliminary-update-comment.js
to use label-directory.json
#7534
Labels
Complexity: Large
Feature: Refactor GHA
Refactoring GitHub actions to fit latest architectural norms
ready for product
role: back end/devOps
Tasks for back-end developers
size: 5pt
Can be done in 19-30 hours
Milestone
Overview
We want to refactor the GHA workflows to reference each label by a general ID (i.e. a 'labelKey') rather than the label's name so that other HfLA project groups can use these workflows without needing to match the label names used by the Website team.
Details
Currently, the GHA workflows files that add, remove, and change labels on issues identify each label by its name (i.e. the 'labelName') directly. Instead of hard-coding each label name, we want these files to identify each label by its 'labelKey' and use the
retrieve-label-directory.js
module to look up the corresponding 'labelName' that is needed in order for the REST API to apply labels to issues.Action Items
This issue involves specifically the
preliminary-update-comment.js
function of the "Issue Trigger" GitHub Action, and you must set up your environment for testing GHAs in order to work on this issue. See notes below in "Resources/ Instructions", and ask questions if you need additional help- GHAs can be tricky, and if you get stuck somewhere, someone who has worked on these before might have information that will save you a lot of time.PUD-test
in your repo and demonstrate the current, correct behavior of the "Issue Trigger" GHA.Ready for Prioritization
feature: agenda
Complexity: Prework
Draft
// Import modules
:const READY_FOR_PRIORITIZATION = "Ready for Prioritization";
andready for product
and change status to "Questions / In Review"Resources/Instructions
The text was updated successfully, but these errors were encountered: