Commit Graph

42 Commits

Author SHA1 Message Date
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
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
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
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
Alex
6c1da6d88e GitHub Workflows security hardening (#4586) 2022-10-31 06:47:17 +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
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
Avelino
375446fb74 netlify deploy
fixed: #3815

Signed-off-by: Avelino <avelinorun@gmail.com>
2021-12-16 06:26:09 -03:00
Tony Kappen
ca3d6d7366 Fix workflow (#3293)
* fix typo in README.md

fixes #3204

* test

* Delete main.yml

* fix workflow

* set to run on original repository
2020-10-11 16:03:33 -03:00
Tony Kappen
f77a13db41 Fix test stale repositories workflow (#3270)
* fix typo in README.md

fixes #3204

* test

* Delete main.yml

* modify workflow
2020-10-05 05:59:38 -03:00
Tony Kappen
00ccf89dd1 WIP: test stale repositories (#3210)
* fix typo in README.md

fixes #3204

* #1446 implement test for stale repositories

* fix #1446

* fixes #3211 added check if issue has not been previously opened

* fixes #3211 add limit to number of issues created at a time

* fixes #3211 reformat issue message

* checks for dead links as well

* fixes #3211 handle status code 302 and 301

* fixes #3211 handle status code 302 and 301

* fixes #3211 handle status code 302 and 301

* fixes #3211 test workflow

* fixes #3211 test workflow

* fixes #3211 test workflow again

* fixes #3211 test workflow again

* remove workflows and start over

* re add workflow

* apply review suggestions

* add environment variable. modify workflow to run once a week

* add check for archived repositories and reformat

* reformat code to improve readability

* reformat to improve readability

* cause continue and not break if href not found

* satisfy code climate requirements
2020-09-24 18:21:00 -03:00
Avelino
a7987b26ff run once a day
Signed-off-by: Avelino <t@avelino.xxx>
2020-09-16 15:30:19 -03:00
Avelino
e5b084a485 create stale PR workflow
Signed-off-by: Avelino <t@avelino.xxx>
2020-09-16 15:28:57 -03:00