GHA: Sort pull requests to correct column #3112
Labels
Complexity: Large
Draft
Issue is still in the process of being created
Feature: Board/GitHub Maintenance
Project board maintenance that we have to do repeatedly
ready for dev lead
Issues that tech leads or merge team members need to follow up on
role: back end/devOps
Tasks for back-end developers
size: 2pt
Can be done in 7-12 hours
Milestone
Dependency
Overview
As a developer, we have to ensure that our Kanban board is organized for all teams so that productivity is high. For this issue, we are creating a GitHub action that will change the status-column of each Pull Request (PR) based on its review progress.
Details
Currently, the following status-columns in our Project Board have been set-up such that the PRs move within these status-columns based on project automations:
Automated Column, do not place items here manually
However, this hasn't been working as desired and we have decided to use different status-column names with a GitHub action/s to sort the PRs appropriately. The new PR status-columns would be:
Action Items
Dependency
label, move the issue to the "New Issue Approval" status-column and add aReady for Prioritization
label.Pseudo Code
Resources/Instructions
Never done GitHub actions? Start here!
Events that trigger workflows
Workflow syntax for GitHub Actions
actions/github-script
GitHub RESTAPI
GitHub GraphQL
Encrypted secrets
Architecture Notes
Refer to Hack for LA's GitHub Actions (current)
Currently, we want our GitHub Actions to be structured like so based on this proposal:
Schedules (military time)
- Schedule Friday 0700
- Schedule Daily 1100
- Schedule Monthly
Linters
- Lint SCSS
PR Trigger
- Add Linked Issue Labels to Pull Request
- Add Pull Request Instructions
Issue Trigger
- Add Missing Labels To Issues
WR - PR Trigger
- WR Add Linked Issue Labels to Pull Request
- WR Add Pull Request Instructions
WR - Issue Trigger
Actions with the same triggers (excluding linters, which will be their own category) will live in the same GitHub action file. Scheduled actions will live in the same file if they trigger on the same schedule (i.e. all files that trigger everyday at 11am will live in one file, while files that trigger on Friday at 7am will be on a separate file).
That said, this structure is not set in stone. If any part of it feels strange, or you have questions, feel free to bring it up with the team so we can evolve this format!
The text was updated successfully, but these errors were encountered: