Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

USWDS-Compile: Create add-issue-labels workflow #64

Merged
merged 2 commits into from
Jul 5, 2023

Conversation

amyleadem
Copy link
Contributor

@amyleadem amyleadem commented Jun 30, 2023

Summary

Note:
This action will also be added to every USWDS repo that adds issues to the project board.

Added a workflow that creates a "Status: Triage" label on all new issue submissions.

More information about the action: github-script action

Breaking change

This is not a breaking change.

Related issue

Closes #63

Related pull requests

No changelog is required for this update.

Preview link

Preview link: N/A

Problem statement

All new USWDS project issues should receive the "Status: Triage" label when opened. This label is important because we sort through items with this label in the project Triage tab during issue triage. However, the "Status: Triage" label is currently only added to issues created via our bug or feature request templates.

Solution

Creating a workflow that applies the "Status: Triage" label to all newly opened issue will ensure that all new issues are added to the project triage tab.

Testing and review

To test:

  1. Open a new blank issue in this test repo.
  2. Confirm that the issue receives the "Status: Triage" label (This might take a minute to complete)
  3. Confirm that the add labels action file in this PR matches the one in the demo repo
  4. Confirm that this action is a reasonable addition.

@amyleadem amyleadem marked this pull request as ready for review June 30, 2023 18:03
@amyleadem amyleadem requested review from mejiaj and mahoneycm June 30, 2023 18:03
Copy link
Contributor

@mahoneycm mahoneycm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GH action yml file matches test repo 👍

Copy link
Contributor

@mejiaj mejiaj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice job! I was able to go to the test repo and use the enhancement template to create an issue. The correct labels showed up.

@mejiaj mejiaj merged commit f4aa87e into develop Jul 5, 2023
@mejiaj mejiaj deleted the al-add-label-workflow branch July 5, 2023 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

USWDS-Compile: Create workflow to add triage label to all issues
3 participants