AlphaGit / jekyll-seo-ai-action

Generate SEO actions through the use of AI for Jekyll blogs/pages
MIT License
0 stars 1 forks source link

Avoid commits if there are no changed files #14

Closed sweep-ai[bot] closed 1 year ago

sweep-ai[bot] commented 1 year ago

PR Feedback: 👍

Description

This PR modifies the index.js file to avoid unnecessary commits when there are no changed files. It adds a conditional check before calling the createCommit function to verify if the list of changed files is empty or null. If the list of changed files is empty or null, the createCommit function call is skipped.

Summary of Changes

Please review and merge this PR. Thank you!

Fixes #13.


🎉 Latest improvements to Sweep:


💡 To get Sweep to edit this pull request, you can: