Post PBB migration: Refactor "Schedule Friday" workflow #7078
Closed
13 tasks done
Labels
Complexity: Large
Feature: API
Coding requires using an API
Feature: Board/GitHub Maintenance
Project board maintenance that we have to do repeatedly
Feature: Refactor GHA
Refactoring GitHub actions to fit latest architectural norms
role: back end/devOps
Tasks for back-end developers
size: 5pt
Can be done in 19-30 hours
time sensitive
Needs to be worked on by a particular timeframe
Milestone
Dependency
Overview
The new Projects Beta is structured a little differently from Projects (classic). During to our recent migration from Projects (classic) to Projects Beta, we scrubbed our workflows and removed all functionality that referenced 'columns' as this term is no longer used. We need to refactor our post migration workflows so that they have similar functionality as previously.
Details
The add-label.js file is part of the "Schedule Friday" workflow. It searches all open issues to check whether the issue assignee has been posting regular updates on the issue, and if not applies a label so to let the team know that the issue is stale. Prior to the Projects Beta migration,
add-labels.js
searched only those issues in the "In progress (actively working)" column, but this column reference is no longer valid. This file's logic needs to be rewritten in terms of the 'status' field instead, using GraphQL.Action Items
github-actions/utils/
- you will need to use two of these on this issue:query-issue-info.js
_data/status-field-ids.js
with:
:repo
), insert:Dependency
to the labels to excludeGitHub
Resources/Instructions
The text was updated successfully, but these errors were encountered: