Skip to content

ci: automate image compression to conserve netlify bandwidth and page loading#1912

Open
aniruddhaadak80 wants to merge 2 commits intoHSF:mainfrom
aniruddhaadak80:feature/automate-image-compression
Open

ci: automate image compression to conserve netlify bandwidth and page loading#1912
aniruddhaadak80 wants to merge 2 commits intoHSF:mainfrom
aniruddhaadak80:feature/automate-image-compression

Conversation

@aniruddhaadak80
Copy link

@aniruddhaadak80 aniruddhaadak80 commented Mar 13, 2026

Fixes #1911

Description

This PR implements an automated check to prevent uncompressed or excessively large images from being merged, addressing #1911.

Changes Made

  • Added a new GitHub Actions workflow specifically for image optimization checks.
  • Configured the workflow to scan modified images in the PR and fail if they exceed reasonable size thresholds without aggressive compression.
  • Provides clear feedback in the CI logs if image compression is required.

This will keep the repository size manageable and ensure fast page load times for the website.

Signed-off-by: Aniruddha Adak <aniruddhaadak80@users.noreply.github.com>
@netlify
Copy link

netlify bot commented Mar 13, 2026

Deploy Preview for earnest-hotteok-b1e1bf ready!

Name Link
🔨 Latest commit 7deb458
🔍 Latest deploy log https://app.netlify.com/projects/earnest-hotteok-b1e1bf/deploys/69b4588f5c2ef90008c12d71
😎 Deploy Preview https://deploy-preview-1912--earnest-hotteok-b1e1bf.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CI] Automate Image Compression via GitHub Actions

1 participant