Add CI workflow, lint config, branch protection and Dependabot#6
Merged
Add CI workflow, lint config, branch protection and Dependabot#6
Conversation
added 8 commits
October 15, 2025 19:49
Simplify CI workflow triggers and remove unused inputs. The retest workflow now runs tests, linting, and build jobs in response to retest comments.
Simplify retest.yml by merging jobs and streamlining steps. Add debug.yml for easier troubleshooting of PR comment events.
Contributor
There was a problem hiding this comment.
Pull Request Overview
Adds foundational CI/CD and automation: GitHub Actions for tests/lint/build, a comment-triggered retest workflow, Dependabot config, branch protection guidance, a Makefile lint target, and some housekeeping (go.mod tweaks, TODOs update, and compose removal).
- New CI workflow (tests with Redis/Postgres services, coverage, lint, build)
- Retest workflow triggered by “retest” comment
- Dependabot configuration and branch protection documentation; Makefile lint target added; compose.yaml removed
Reviewed Changes
Copilot reviewed 7 out of 9 changed files in this pull request and generated 8 comments.
Show a summary per file
| File | Description |
|---|---|
| go.mod | Promotes gRPC and gax-go to direct dependencies. |
| compose.yaml | Removes the docker-compose setup (Redis/Mongo stack). |
| Makefile | Adds a lint target (fmt, vet, mod tidy + diff check) and help entry. |
| .todos.md | Updates task list; marks items complete and adds new tasks. |
| .github/workflows/retest.yml | Adds a comment-triggered retest workflow with Redis/Postgres services. |
| .github/workflows/ci.yml | Adds test, lint, and build jobs with coverage and caching. |
| .github/dependabot.yml | Sets up Dependabot for gomod, actions, and docker. |
| .github/branch-protection.md | Documents recommended branch protection rules and CLI setup. |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
- Add `coverage` and `check-coverage` targets to Makefile - Update .gitignore to exclude coverage files - Enhance CI workflow to check coverage for changed code only - Remove unused cache step from CI - Delete temporary files and binary
… into feature/isaacdsc/CI
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 pull request introduces a comprehensive setup for CI/CD, branch protection, dependency management, and linting for the project. The main improvements include adding automated workflows for testing, linting, and building, enforcing strict branch protection rules, configuring Dependabot for dependency updates, and establishing a robust linting configuration with golangci-lint. These changes aim to ensure code quality, security, and reliability in the development workflow.
Continuous Integration & Quality Assurance
.github/workflows/ci.ymlto automate running tests, lint checks, and build verification on pull requests and pushes, including service setup for Redis and PostgreSQL and coverage reporting..golangci.ymlwith detailed configuration for golangci-lint, enabling and tuning multiple linters, setting output formats, and specifying exclusion rules for known issues and test files.Branch Protection & Automation
.github/branch-protection.mddocumenting recommended GitHub branch protection rules, required status checks, CLI setup commands, troubleshooting, and templates for PRs and Dependabot configuration.Dependency Management
.github/dependabot.ymlto automate updates for Go modules, GitHub Actions, and Docker dependencies, with scheduling, reviewer/assignee assignment, commit message conventions, and label management.Project Planning
.todos.mdto mark the integration of asynq and Google PubSub as completed and added new tasks related to metrics, collectors, Terraform, and CI validation.