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

GitHub Actions: Create issues to update wiki articles on a set schedule #2188

Open
2 of 22 tasks
Aveline-art opened this issue Aug 27, 2021 · 3 comments
Open
2 of 22 tasks
Labels
Complexity: Large Dependency An issue is blocking the completion or starting of another issue Feature: Board/GitHub Maintenance Project board maintenance that we have to do repeatedly GHA New Project Board compatible This GitHub Action issue does not reference columns and will work with the new board role: back end/devOps Tasks for back-end developers size: 3pt Can be done in 13-18 hours

Comments

@Aveline-art
Copy link
Member

Aveline-art commented Aug 27, 2021

Dependency

Overview

As a developer on this team, we need to know schedule maintenance tasks so that all of our assets are up-to-date. For this issue, we will have a GHA create automatic issues to review and maintain certain wiki articles at a scheduled time.

Psudo-code

  • Trigger: At a certain, scheduled time (as a placeholder, use the workflow_dispatch trigger event to test your script)
    • GHA bot will accept a list of either wiki links, titles, or both.
    • For each wiki link/title, create an issue with these criteria:
      • The title needs to contain the wiki's title and describe what the issue is for
      • The overview needs to be clear about the purpose of the issue
      • Action items need to be clear, and specific. Some action items need to be left blank, however, for the issue approval team to fill in.
      • Resources and instructions need to contain links to the specific wiki.
    • After the creation of the above issues, create one more issue to update any other wiki articles. There is no need to link every other wiki, but there should be a link to the wiki itself. This will be a catch all for any other wikis that needs an update.
    • Also, ensure that the issue is placed in the correct column of the project board.
  • Discuss with team on these points:
    • Which articles needs to be included in this list?
    • How often does this need to run (perhaps monthly)?
    • What action items, instructions, and resources can we prefill into this issue?
    • What labels should be pre-placed?
    • Should anyone be pre-assigned? Who?

Checks

  • Ensure that the template for the issues exists in an md file outside the script. For example, the issues and title templates are best left in an external md. This will allow quick edits to the issue.
  • Ensure that the list of wiki links/titles are easy to find and edit.
  • When a list of 3 titles is fed into the GHA, only 4 issues are created.
  • When a blank list is fed into the GHA, only 1 issue is created.

Resources/Instructions

Never done GitHub actions? Start here!

To start on this issue, if you have not, please explore the current GHAs we have as some already perform similar actions. They might inspire you, and help you get started a lot faster.

Note that you might want to do something outside the scope of the above psudo-code. If so, be sure to leave comments in your PR or this issue that justifies your reasoning. If you feel you need guidance, be sure to reach out! We cannot foresee whether this issue is solvable, or what hard decisions have to be made, but we would love to hear and help you!

Additional resources:

Events that trigger workflows
Workflow syntax for GitHub Actions
actions/github-script
GitHub RESTAPI
GitHub GraphQL

@github-actions github-actions bot added Feature Missing This label means that the issue needs to be linked to a precise feature label. role missing size: missing labels Aug 27, 2021
@Aveline-art Aveline-art added Feature: Board/GitHub Maintenance Project board maintenance that we have to do repeatedly role: back end/devOps Tasks for back-end developers Complexity: Large and removed Feature Missing This label means that the issue needs to be linked to a precise feature label. role missing size: missing labels Aug 27, 2021
@Aveline-art Aveline-art changed the title GitHub Actions: Create issues to update wiki on a set schedule GitHub Actions: Create issues to update wiki articles on a set schedule Aug 27, 2021
@ExperimentsInHonesty ExperimentsInHonesty added the Dependency An issue is blocking the completion or starting of another issue label Sep 7, 2021
@ExperimentsInHonesty
Copy link
Member

@Aveline-art I added the dependency
Dependency
Re organizing the wiki and publishing it in MKdocs or similar

Is this ok? or am I misunderstanding the issue?

@Aveline-art
Copy link
Member Author

@ExperimentsInHonesty That's fine! I have added #1534 as a dependency.

@SAUMILDHANKAR SAUMILDHANKAR added the size: 3pt Can be done in 13-18 hours label Jun 19, 2022
@ExperimentsInHonesty ExperimentsInHonesty added ready for dev lead Issues that tech leads or merge team members need to follow up on and removed Dependency An issue is blocking the completion or starting of another issue labels Jan 24, 2024
@ExperimentsInHonesty
Copy link
Member

@roslynwythe I moved this into the new issue review column because the dependency is resolved. Please add a ready for prioritization label if its ready.

@ExperimentsInHonesty ExperimentsInHonesty removed Added to dev/pm agenda ready for dev lead Issues that tech leads or merge team members need to follow up on labels May 7, 2024
@ExperimentsInHonesty ExperimentsInHonesty added the Dependency An issue is blocking the completion or starting of another issue label Jun 9, 2024
@ExperimentsInHonesty ExperimentsInHonesty added the GHA New Project Board compatible This GitHub Action issue does not reference columns and will work with the new board label Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Complexity: Large Dependency An issue is blocking the completion or starting of another issue Feature: Board/GitHub Maintenance Project board maintenance that we have to do repeatedly GHA New Project Board compatible This GitHub Action issue does not reference columns and will work with the new board role: back end/devOps Tasks for back-end developers size: 3pt Can be done in 13-18 hours
Projects
Development

No branches or pull requests

4 participants