Add reusable GitHub workflow and action for automated code quality analysis - #1
Merged
ZhulongNT merged 4 commits intoSep 28, 2025
Merged
Conversation
Co-authored-by: ZhulongNT <191720247+ZhulongNT@users.noreply.github.com>
Co-authored-by: ZhulongNT <191720247+ZhulongNT@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] create a reuseable github workflow that allows running fuck-u-code in others workflow and output markdown report to artifacts
Add reusable GitHub workflow and action for automated code quality analysis
Sep 28, 2025
ZhulongNT
marked this pull request as ready for review
September 28, 2025 03:24
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR implements a comprehensive solution for running
fuck-u-codeanalysis in GitHub workflows with automatic markdown report generation and artifact storage.🚀 New Features
Reusable GitHub Workflow
A complete workflow that can be called from any repository:
GitHub Composite Action
For advanced integration scenarios with structured outputs:
📋 Key Capabilities
fuck-u-codeCLI options available as workflow inputs📊 Workflow Inputs
The reusable workflow supports all standard
fuck-u-codeoptions:path.languageen-UStop-files5max-issues5verbosefalseexclude-patterns''artifact-namecode-quality-report📁 Files Added
.github/workflows/code-quality-analysis.yml- Main reusable workflowaction.yml- Composite action for direct useGITHUB_WORKFLOW.md- Comprehensive documentationexamples/- Ready-to-use workflow templatesREADME.mdandREADME_EN.mdwith GitHub Actions integration🔧 Example Use Cases
Basic CI/CD Integration:
Monorepo Analysis:
The implementation provides both beginner-friendly reusable workflows and advanced composite actions for teams wanting to integrate automated code quality analysis into their CI/CD pipelines.
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.