This commit introduces AGENTS.md, a comprehensive guide outlining conventions and project context for language model (LLM) contributions to the awesome-go repository. The document details project structure, coding guidelines for Go and JavaScript, CI/testing expectations, and documentation standards. It aims to ensure consistency, quality, and clarity for both human and automated contributors.
Signed-off-by: Avelino <31996+avelino@users.noreply.github.com>
Replaces the previous comment action with marocchino/sticky-pull-request-comment@v2 to avoid duplicate comments on PRs. This ensures the quality check report is always updated in place, improving PR clarity and reducing notification noise.
Ref: https://github.com/avelino/awesome-go/pull/5820#issuecomment-3346082315
Signed-off-by: Avelino <31996+avelino@users.noreply.github.com>
- Introduce `.github/scripts/check-quality.js` to automate validation of PRs against minimum standards from `CONTRIBUTING.md`:
- Checks repo accessibility, go.mod presence, SemVer release, Go Report Card grade, pkg.go.dev, and coverage link.
- Outputs a markdown report and sets fail status for critical issues.
- Add `.github/scripts/extract-pr-links.js` to extract required links from PR body and format a review comment.
- Update workflow to run these scripts and post results as PR comments.
- Update `CONTRIBUTING.md` to clarify requirements and reference new automation.
fixed https://app.codacy.com/gh/avelino/awesome-go/pull-requests/5810/issues
Signed-off-by: Avelino <31996+avelino@users.noreply.github.com>
Signed-off-by: Avelino <31996+avelino@users.noreply.github.com>
- Add `.github/scripts/check-quality.js` to extract PR links and validate minimum standards:
- Checks repo accessibility, go.mod, SemVer release, Go Report Card (A- or better), coverage, and pkg.go.dev.
- Outputs markdown report and sets fail status for critical issues.
- Add `.github/scripts/extract-pr-links.js` to extract and format PR body links for review.
- Add `.github/workflows/pr-quality-check.yaml` to run quality checks on PRs, post results as comments, sync labels, and fail PR if critical checks fail.
- Update `CONTRIBUTING.md` to clarify required PR body links and quality standards.
- Update `.github/workflows/pull-request-first-comment.yaml` to support new automation.
This improves PR review automation and enforces minimum quality standards for new submissions.
Signed-off-by: Avelino <31996+avelino@users.noreply.github.com>