Closed JackDevAU closed 1 month ago
Update:
Add a new GitHub Action that validates the folder name vs rules uri
Created a PR for running the auto fix: https://github.com/SSWConsulting/SSW.Rules.Content/pull/8540 ๐
Make a Wiki about how to construct the uri and foldername and how they need to match
There's already a wiki that mentions updating folder name when rename a rule: https://github.com/SSWConsulting/SSW.Rules.Content/wiki/How-to-Rename-Rules
Done - Now we have a github action running on Rules.Content that will check and auto-fix folder names. ๐
See action log: https://github.com/SSWConsulting/SSW.Rules.Content/actions/workflows/check-folder-name.yml
I tested it with a rule and the action automatically renamed the folder, and put the old folder name in the redirects
๐ช
Figure: https://github.com/SSWConsulting/SSW.Rules.Content/pull/8543/commits/3474d97c331b42a2a85f9e2e395dddfd720287b9
CC @adamcogan @Aibono1225 @drwharris @bradystroud
Hi Team,
Description
When someone creates a PR that updates a rules
uri
and doesn't update the folder name, NetlifyCMS editor doesn't allow the user to edit the rule. We should fix this before it goes live.