- 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>