Skip to content

GitHub Action Check For Duplicate Image Names

Chloe Lin [SSW] edited this page Apr 9, 2024 · 2 revisions

Check For Duplicate Image Names

"Check For Duplicate Image Names" is designed to fix the rendering issue that occurred with Gatsby. If two images share the same name but are used in different rules, one of the rules will display the incorrect image.

Therefore, this action has been set up to run weekly or manually in order to:

  • Check for duplicate image names in Rules.Content
  • Rename them if any are found
  • Update the image path in the relevant rule.md
  • Create a pull request if changes are made

Running the action

  1. Go to SSWConsulting | SSW.Rules.Content | Actions | Check For Duplicate Image Names
  2. Press Run workflow | Run workflow ensuring the branch is set to "main" image
  3. Wait for the task to finish
  4. Once it's finished, this is what will happen:
Clone this wiki locally