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-Team: Replace "add issues to project" workflow with project board setting #458

Closed
mahoneycm opened this issue Dec 20, 2024 · 2 comments
Assignees
Labels
Affects: Automation Relates to process automation Type: Spike A short research activity to help make a decision

Comments

@mahoneycm
Copy link
Contributor

Description

GitHub introduced new guidance on automatically adding issues to project boards.

We should explore this option and see if it is a better option than our current workflow.

One possible enhancement is adding automatically created issues such as POAM. Currently, these issues cannot be added via workflow because they are using secret tokens. 1

When you use the repository's GITHUB_TOKEN to perform tasks, events triggered by the GITHUB_TOKEN, with the exception of workflow_dispatch and repository_dispatch, will not create a new workflow run. 1

Footnotes

  1. https://docs.github.com/en/actions/security-for-github-actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow 2

@amyleadem amyleadem self-assigned this Jan 3, 2025
@amyleadem amyleadem changed the title USWDS-Team: Enhance issue to project board functionality USWDS-Team: Replace "add issues to project" workflow with built-inproject board setting Jan 3, 2025
@amyleadem amyleadem added Affects: Automation Relates to process automation Type: Spike A short research activity to help make a decision labels Jan 3, 2025
@amyleadem amyleadem moved this to Scheduled in USWDS Core Project Data Jan 3, 2025
@amyleadem amyleadem changed the title USWDS-Team: Replace "add issues to project" workflow with built-inproject board setting USWDS-Team: Replace "add issues to project" workflow with project board setting Jan 3, 2025
@amyleadem amyleadem moved this from Scheduled to On deck in USWDS Core Project Data Jan 13, 2025
@amyleadem amyleadem moved this from On deck to Done in USWDS Core Project Data Jan 24, 2025
@amyleadem
Copy link
Contributor

amyleadem commented Jan 24, 2025

Update

I was able to successfully set up a workflow to automatically add open issues and PRs from the uswds-team repo to the project board.

Check out the related add-to-project workflow to see the criteria.

I also created this test issue to confirm that new issues do get added to the project board.

@mahoneycm, we should see if this resolves the conflict you were experiencing with the POAM issue creation automation.

Next steps

  • Consider using this workflow method in other USWDS repos. In other repos, we have used a YML-based workflow (See USWDS' workflow). However, this requires technical knowledge and a push to the project code. If we can move to a project-based workflow, it would give us better flexibility for managing the types of items that get added to the project board. Note: there are a limited number of auto-add workflows available depending on plan type.
  • Add the "Status: triage" label to these issues.

cc: @jdotyoon

@amyleadem amyleadem moved this from Done to Fed Final Review in USWDS Core Project Data Jan 24, 2025
@amyleadem
Copy link
Contributor

Closing this issue as complete

@github-project-automation github-project-automation bot moved this from Fed Final Review to Done in USWDS Core Project Data Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Affects: Automation Relates to process automation Type: Spike A short research activity to help make a decision
Projects
Archived in project
Development

No branches or pull requests

2 participants