Commit Graph

80 Commits

Author SHA1 Message Date
Avelino
1a93ba0fab Update .github/scripts/check-quality.js
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-09-14 15:00:16 -03:00
Avelino
8a1c8ef576 Update .github/scripts/check-quality.js
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-09-14 15:00:16 -03:00
Avelino
c2be79cb1d feat: add automated PR quality checks and PR link extraction scripts
- 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>
2025-09-14 15:00:16 -03:00
Avelino
12dc8e9fde feat: add automated PR quality checks for CONTRIBUTING.md standards
- 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>
2025-09-14 15:00:16 -03:00
Phani Rithvij
8d972e873e netlify-deploy change dependency to nwtgck/actions-netlify@v3.0
setup node ourselves
2025-02-27 18:40:06 +05:30
yassinebenaid
b971941897 bump actions/checkout to v4 (#5366) 2024-08-04 21:19:12 +05:30
oliverpool
73af87e792 Refactor PR template: hint to curate packages around the submission (#5233)
* refactor PR template

* typo
2024-03-08 15:14:25 +05:30
Bob Glickstein
4d656474cb Wording tweaks to the PR comment added by the first-comment GH Action. (#5177) 2024-01-19 21:12:22 +05:30
Alex Bozhenko
e05ea4cec3 correct test run usage 2023-12-21 08:55:56 -03:00
Avelino
8495071046 fixed run-check job 2023-10-28 22:04:12 -03:00
Tomasz Piowczyk
395e8489ab Fix event trigger type 2023-10-04 12:39:09 -03:00
Tom Godkin
22c7595b8f Allow trunk-based workflows for awesome projects (#4976) 2023-08-15 23:37:23 +05:30
Avelino
e4d782899c pull-request-first-comment: permission issue write 2023-08-04 17:05:02 -03:00
Paul Burlumi
db09a6a398 build(ci): fix first comment github action
This fixes the error seen creating a new pull request.
2023-05-22 17:22:17 -03:00
Paul Burlumi
33967055c8 Fix typo in github action workflow (#4878) 2023-05-08 07:39:52 +03:00
Avelino
cb92c8e141 Rename config.yaml to config.yml 2023-05-01 17:57:07 -03:00
Avelino
e93f430a06 Update and rename awesome-go-com.md to bug.yml 2023-05-01 17:56:21 -03:00
Avelino
f807a57e84 Delete awesome-go-related-topic.md 2023-05-01 17:52:37 -03:00
Avelino
f10c0bf38a Create config.yaml 2023-05-01 17:51:47 -03:00
Avelino
013e1dda90 Update pull-request-first-comment.yaml 2023-04-07 14:10:48 -03:00
Avelino
23308179f3 Update pull-request-first-comment.yaml 2023-04-05 07:40:30 -03:00
Avelino
1519857fea first comment: set dynamic pull request number 2023-04-03 08:38:48 -03:00
Kirill Zhuravlev
b6ee793145 change resulting build dir for netlify 2023-04-03 08:16:26 -03:00
Kirill Zhuravlev
7aa3985741 change workflow site-deploy.yaml 2023-04-03 08:16:26 -03:00
Kirill Zhuravlev
7713914b96 fix gh wf 2023-04-03 08:16:26 -03:00
Avelino
58f71c3bbc Update check-for-spammy-issues.yml 2023-03-18 11:03:46 -03:00
Avelino
f6bc652061 Update check-for-spammy-issues.yml 2023-03-18 09:53:03 -03:00
Avelino
eb06322d4d auto msg first comment in PR 2023-03-18 08:37:22 -03:00
Avelino
3ee45b6c29 workflow: check issue spammy
fixed: #4772
2023-03-18 07:48:46 -03:00
Avelino
979e55167a pr template: remove gocover.io
ref: 6ef5fb11ad
2023-01-12 22:24:01 -03:00
Alex
6c1da6d88e GitHub Workflows security hardening (#4586) 2022-10-31 06:47:17 +05:30
Kevin Mulvey
f59afbd692 correct spelling of 'details' in pr template (#4567) 2022-10-25 18:00:02 +05:30
Avelino
2697da01c5 Remove stale action
fixed: #4479
2022-10-18 11:17:02 -03:00
harishmatheshwaran
7053eec62f Update run-check.yaml 2022-10-17 16:58:43 -03:00
harishmatheshwaran
efe54277c5 Update tests.yaml 2022-10-17 16:58:43 -03:00
harishmatheshwaran
4737de3dc2 Update site-deploy.yaml 2022-10-17 16:58:43 -03:00
Ceriath
561a423eca Fix stale action wording 2022-07-10 23:11:13 +02:00
Amir Ariffin
1fd356d91f run stale repo check as test instead (#4265) 2022-06-10 17:58:34 +05:30
Phani Rithvij
bb55de587f fix grammar 2022-06-01 18:23:35 +05:30
spekary
8821d6b649 Updating PR template to reflect new contribution guidelines 2022-03-02 14:46:16 -03:00
Avelino
7f26516496 Update issue templates 2022-02-04 06:49:38 -03:00
Avelino
8c13f0112d fixed typo action needs attr
Signed-off-by: Avelino <avelinorun@gmail.com>
2021-12-22 10:54:51 -03:00
Avelino
b20ca0f632 run specific test
Signed-off-by: Avelino <avelinorun@gmail.com>
2021-12-22 10:51:24 -03:00
Avelino
811dd9076e site deploy action
run only main branch

Signed-off-by: Avelino <avelinorun@gmail.com>
2021-12-22 10:51:24 -03:00
Avelino
340743b823 remove site deploy of tests running
Signed-off-by: Avelino <avelinorun@gmail.com>
2021-12-22 10:51:24 -03:00
Avelino
1869d62208 fixed typo netlify deploy, main branch
Signed-off-by: Avelino <avelinorun@gmail.com>
2021-12-16 08:36:24 -03:00
Avelino
31e63566db rename all hard ref branch master to main
Signed-off-by: Avelino <avelinorun@gmail.com>
2021-12-16 08:30:25 -03:00
Avelino
09ae7bf7aa remove matrix support, use container: golang:latest
Signed-off-by: Avelino <avelinorun@gmail.com>
2021-12-16 06:26:09 -03:00
Avelino
fcd6057e88 migrate travis to github actions
ref: #3943

Signed-off-by: Avelino <avelinorun@gmail.com>
2021-12-16 06:26:09 -03:00
Avelino
f503430fe9 remove netlify on run-check action
Signed-off-by: Avelino <avelinorun@gmail.com>
2021-12-16 06:26:09 -03:00