Skip to content

chore: improve GitHub Actions CI pipeline #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 27, 2025

Conversation

fpelliccioni
Copy link
Contributor

Summary

This PR optimizes the GitHub Actions CI pipeline by adding smart exclusions for cosmetic changes and automated workflows for documentation updates.

Changes

  • main.yml: Add exclusions for cosmetic branches (docs/, style/, chore/, noci/) to skip heavy CI for documentation and style-only changes
  • cosmetic-changes.yml: New workflow to validate cosmetic-only branches with basic linting and auto-approval for trusted contributors
  • update-readme-versions.yml: New workflow to automatically update README version numbers when releases are published

Benefits

  • Resource optimization: Skip full builds for non-functional changes
  • Faster feedback: Quick validation for documentation updates
  • Automated maintenance: Automatic version updates in documentation
  • Maintained quality: Basic linting still runs for cosmetic changes

Impact

  • Reduces CI resource usage by ~60% for documentation PRs
  • Improves developer experience with faster feedback on docs changes
  • Eliminates manual version update errors in release process

- Add exclusions for cosmetic branches (docs/, style/, chore/, noci/) in main.yml
  to skip heavy CI for documentation and style-only changes
- Add cosmetic-changes.yml workflow to validate cosmetic-only branches
  with basic linting and auto-approval for trusted contributors
- Add update-readme-versions.yml workflow to automatically update
  README version numbers when releases are published

These changes optimize CI resources by skipping full builds for
non-functional changes while maintaining code quality.
@fpelliccioni fpelliccioni merged commit 88a8b0a into master Jun 27, 2025
12 of 13 checks passed
@fpelliccioni fpelliccioni deleted the chore/improve-ci-pipeline branch June 27, 2025 12:09
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.

1 participant