Skip to content

Conversation

@salihozkara
Copy link
Member

No description provided.

Improved modularity and readability of add_seo_descriptions.py by refactoring functions, enhancing block handling, and adding statistics saving. Updated auto-add-seo.yml to correctly detect changed markdown files using PR head and base SHAs for more accurate file selection.
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR refactors the SEO description script for improved maintainability and updates the workflow to use PR head commits instead of merge commits.

  • Refactored Python script with better code organization and function separation
  • Updated workflow to reference PR head SHA instead of merge commit SHA
  • Added explicit line ending preservation when reading/writing files

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.github/workflows/auto-add-seo.yml Updated to use PR head SHA for more reliable file change detection
.github/scripts/add_seo_descriptions.py Refactored with extracted functions, constants, and improved code organization
Comments suppressed due to low confidence (1)

.github/scripts/add_seo_descriptions.py:1

  • The emoji character appears corrupted in the output. Should use '🚫' (prohibited sign emoji).
import os

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Added note about uninstalling the old ABP CLI before installing the new one.
@maliming maliming merged commit dbfd69f into dev Oct 21, 2025
1 check passed
@maliming maliming deleted the salihozkara/seo branch October 21, 2025 03:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants