Skip to content

[DevOps] GitHub action to update MS Learn doc update date #1665

@flanakin

Description

@flanakin
Collaborator

📝 Scenario

As a FinOps toolkit contributor, I need to update the update date when docs are changed in order to not get flagged for stale content

💎 Solution

Create a GitHub action that runs whenever a *.md file is updated in the docs-mslearn folder.
The action should run a PowerShell script that updates the date in the ms.date: line in the file header.
Only update lines that match ms.date: MM/dd/yyyy. Do not update any lines with more or less on the line.
The date should be set to the current date and formatted in the MM/dd/yyyy format.

🙋‍♀️ Ask for the community

We could use your help:

  1. Please vote this issue up (👍) to prioritize it.
  2. Leave comments to help us solidify the vision.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Participants

    @flanakin

    Issue actions

      [DevOps] GitHub action to update MS Learn doc update date · Issue #1665 · microsoft/finops-toolkit