-
Notifications
You must be signed in to change notification settings - Fork 175
GitHub Action Check Folder Name
Chloe Lin [SSW] edited this page May 20, 2024
·
1 revision
This action is intended to automatically correct folder names when an editor updates only the URI of a rule without renaming the corresponding folder.
It triggers when a pull request is created. If the rule.md file has been updated, the action checks whether the URI of this rule.md matches the name of the folder containing it. If a mismatch is found, the folder is renamed to match the URI. Additionally, the old folder name will be added to the redirects
section of the rule's frontmatter.