Skip to content

Create custom actions #269

@CalvinWilkinson

Description

@CalvinWilkinson

Complete The Item Below

  • I have updated the title without removing the 🚧 emoji.

Description

Create the following custom github actions for other projects in the KinsonDigital organization to take advantage of.

Note

These actions will each be a single TypeScript module that performs the work.

  1. Create a close milestone action
  2. Send X Announcement action
  3. Get version action
  4. Validate version action
  5. Transpile readme action
  6. Update copyright action
  7. Nuget package exists action
  8. Milestone exists action
  9. All milestone issues closed action
  10. GitHub release exists action
  11. Validate .NET SDK version action
  12. Validate tag action
  13. Update the infrastructure release workflow to use the new custom actions

Acceptance Criteria

The items to complete to satisfy the Definition of Done.

  • All the unit tests have been executed and passed locally after PR work is complete. (Why? Refer to 'Additional Information' below.)
  • Close milestone custom action created
  • Send X announcement custom action created
  • Get version custom action created
  • Validate version custom action created
  • Transpile readme custom action created
  • Update copyright custom action created
  • Nuget package exists, custom action created
  • Milestone exists custom action created
  • All milestone items closed, custom action created
  • GitHub release exists, custom action created
  • Validate .NET SDK version custom action created
  • Validate tag custom action created

Extra:

  • For all github actions that need an owner and/or a repo value, validate that they both exist.
    • Refactor the Validators module functions to take in the repo owner and repo names as parameters.
  • dotnet-lib-release.yml workflow updated to use new custom actions
  • github-action-release.yml file updated to have a prerelease validation job that uses the new custom actions
  • The infrastructure release workflow has been updated to use the new custom actions
  • All github actions are updated to the latest versions
  • Set all deno actions to enable caching for workflows.
    • For the release workflows, use a workflow input to use a default value of true and use it as a value to set the caching

ToDo Items

The items to complete to satisfy the Definition of Done.

  • Add a priority label to the issue. Refer to the Priority Type Labels section below.
  • Link the issue to the correct milestone (if applicable).

Code of Conduct

  • I agree to follow this project's Code of Conduct.

Metadata

Metadata

Labels

Projects

Status

✅Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions