department-of-veterans-affairs / va.gov-team

Public resources for building on and in support of VA.gov. Visit complete Knowledge Hub:
https://depo-platform-documentation.scrollhelp.site/index.html
281 stars 202 forks source link

Discovery around GH actions auto populate column in GH projects board for PO Sync #93583

Open shiragoodman opened 2 weeks ago

shiragoodman commented 2 weeks ago

User Story

As a Governance team member, I want to be able to easily see in the Collab Cycle Reviews GH Projects board if a VFS team participated in a PO Sync so that I can know if it's ok to move forward with a previously scheduled touchpoint.

Assignee: @it-harrison Peer Reviewer: @KKitagawa-Bosch

Description

Both OCTO-DE Design PA leads and Governance team need to be able to easily see if a VFS team has completed the PO Sync touchpoint. However, since this is an OCTO only touchpoint, Governance will not easily see/know when a PO Sync occurred (like they do with a DI, MPR or SR). OCT-DE Design PA Leads do have an action to add the PO-Sync-approved label to the Collaboration Cycle Request ticket post-PO Sync, however the built-in automations in GitHub projects do not allow for a field to be populated based on whether or not a label exists or not.

The purpose of this ticket is to add a new GH actions script to the Collaboration Cycle Reviews gh projects board that would auto populate a new field in the board to make it easy for all to see that the PO sync occurred and was approved.

Note: Eric Boehs shared a script he wrote with the #github-projects-cop channel that may be helpful. Check it out!

Impacted Artifacts

Live pages

Drafted pages

Tasks

Peer Review

To be completed by peer reviewer

Acceptance Criteria

Team Notification

How to prepare this issue

Refinement

it-harrison commented 21 hours ago

I have verified locally that this is doable - I have also added an action to the repo; however, the permissions generated for the GITHUB_TOKEN during the workflow run are not sufficient to modify a project (whereas my personal token is); I am working with support to increase permissions.

it-harrison commented 19 hours ago

@KKitagawa-Bosch check out the action and the script the action calls

shiragoodman commented 15 hours ago

Due to @it-harrison 's comments above, this work will be moving into the next sprint.