-
Notifications
You must be signed in to change notification settings - Fork 0
feat(ci): add copilot-setup-steps composite action #9
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
feat(ci): add copilot-setup-steps composite action #9
Conversation
Co-authored-by: MauGx3 <[email protected]>
There was a problem hiding this 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 introduces a reusable GitHub Actions composite action called copilot-setup-steps to standardize Jekyll and GitHub Pages setup across CI/CD workflows. The action encapsulates common setup steps including repository checkout, Ruby environment configuration, and GitHub Pages setup with graceful fallback handling.
- Adds a new composite action with configurable Ruby version, bundler caching, and cache versioning
- Provides clear outputs for conditional workflow logic based on GitHub Pages status
- Includes comprehensive documentation with usage examples and troubleshooting guides
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
.github/actions/copilot-setup-steps/action.yml |
Composite action definition with inputs, outputs, and setup steps |
.github/actions/copilot-setup-steps/README.md |
Action documentation with usage examples and troubleshooting |
.github/actions/copilot-setup-steps/example-workflow.yml |
Complete example workflow demonstrating action usage |
_instructions/github-actions-copilot-setup.md |
Comprehensive user guide following repository instruction standards |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Copilot <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 4 out of 4 changed files in this pull request and generated no new comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
…3734-4291-867a-4d6735465d6a
Overview
This PR introduces a reusable GitHub Actions composite action called
copilot-setup-stepsthat encapsulates common setup steps for Jekyll and GitHub Pages workflows. This action promotes code reusability and consistency across CI/CD pipelines.What's New
Composite Action (
.github/actions/copilot-setup-steps/)A new composite action that provides:
actions/checkout@v4Action Features
Inputs:
ruby-version- Ruby version to use (default:3.1)bundler-cache- Enable bundler caching (default:true)cache-version- Cache key version for invalidation (default:0)Outputs:
pages-enabled- Boolean indicating if GitHub Pages is configuredbase-path- Base path for Jekyll build (when Pages is enabled)Documentation
Action README (
.github/actions/copilot-setup-steps/README.md)Example Workflow (
.github/actions/copilot-setup-steps/example-workflow.yml)User Guide (
_instructions/github-actions-copilot-setup.md)Usage Example
Benefits
Files Changed
.github/actions/copilot-setup-steps/action.yml- Composite action definition.github/actions/copilot-setup-steps/README.md- Action documentation.github/actions/copilot-setup-steps/example-workflow.yml- Usage example_instructions/github-actions-copilot-setup.md- User guide instructionTesting
This action can now be used across any Jekyll-based workflows in the repository to streamline CI/CD configuration.
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.