Skip to content

Commit 4201e8a

Browse files
bnbljharbeemelidylans
authored
ci(automation): add link checking (#728)
* ci(automation): add dead link checking * fix: add private repo to skip list * fix: unbreak Contributor Covenant link * fix: old meeting deep link * fix: broken proposal links * fix: update broken links to PROJECT_PROGRESSION * fix: update broken link to EXPECTATIONS * fix: updated broken links to INDVIDIUAL_MEMBERSHIP * fix: remove broken link to repo that doesn't exist * fix: update broken link to CPC charter proposal * fix: update link to FOUNDATION_CODE_OF_CONDUCT_REQUIREMENTS.md * fix: make a markdown link work by using correct syntax * fix: update AJV contributing link * fix: add space to unbreak links * chore: remove link to broken/removed PR in the Node.js org * chore: update broken links that have transitioned to openjs-foundation from nodejs * fix: update k8s links * fix: update link to use correct branch/filename * chore: remove broken link to ancient Project Progression proposal * fix: update old broken link to Community Board Representation proposal * fix: use HEAD rather than master * Revert "fix: update link to use correct branch/filename" This reverts commit f167243. * chore: use `HEAD` instead of `master` Co-authored-by: Jordan Harband <[email protected]> * fix: update old link to repo that doesn't exist to working link * chore: reflect change from "staging process" to "proposal process" * fix: use permanent link to Node.js contributing file * re-add broken link Co-authored-by: Jordan Harband <[email protected]> * fix broken link Co-authored-by: Jordan Harband <[email protected]> * fix broken link Co-authored-by: Jordan Harband <[email protected]> * fix broken link Co-authored-by: Jordan Harband <[email protected]> * fix broken link Co-authored-by: Jordan Harband <[email protected]> * add missing trailing newline * chore: main > head Co-authored-by: Jordan Harband <[email protected]> * chore: main > head Co-authored-by: Jordan Harband <[email protected]> * chore: fix missing broken link * docs: remove reference to non-existent document * docs: link fixes * doc: fix AMP contributing link * docs: link fixes in proposals readmes * docs: more link changes * docs: fix old broken github link * Globally replace all /master/ and /main/ to /HEAD/ * Travel fund request: Unicode Conference, 13-16 October (#800) * chore: Rename TRAVEL_FUND/2020.md -> TRAVEL_FUND/2021.md * Add travel fund request for Unicode Conference * Update Dojo CoC (#799) Leverage the OpenJSF reporting email address rather than a dead Google form. * ci(automation): add dead link checking * fix: add private repo to skip list * fix: unbreak Contributor Covenant link * fix: old meeting deep link * fix: broken proposal links * fix: update broken links to PROJECT_PROGRESSION * fix: update broken link to EXPECTATIONS * fix: updated broken links to INDVIDIUAL_MEMBERSHIP * fix: remove broken link to repo that doesn't exist * fix: update broken link to CPC charter proposal * fix: update link to FOUNDATION_CODE_OF_CONDUCT_REQUIREMENTS.md * fix: make a markdown link work by using correct syntax * fix: update AJV contributing link * fix: add space to unbreak links * chore: remove link to broken/removed PR in the Node.js org * chore: update broken links that have transitioned to openjs-foundation from nodejs * fix: update k8s links * fix: update link to use correct branch/filename * chore: remove broken link to ancient Project Progression proposal * fix: update old broken link to Community Board Representation proposal * fix: use HEAD rather than master * Revert "fix: update link to use correct branch/filename" This reverts commit f167243. * chore: use `HEAD` instead of `master` Co-authored-by: Jordan Harband <[email protected]> * fix: update old link to repo that doesn't exist to working link * chore: reflect change from "staging process" to "proposal process" * fix: use permanent link to Node.js contributing file * re-add broken link Co-authored-by: Jordan Harband <[email protected]> * fix broken link Co-authored-by: Jordan Harband <[email protected]> * fix broken link Co-authored-by: Jordan Harband <[email protected]> * fix broken link Co-authored-by: Jordan Harband <[email protected]> * fix broken link Co-authored-by: Jordan Harband <[email protected]> * add missing trailing newline * chore: main > head Co-authored-by: Jordan Harband <[email protected]> * chore: main > head Co-authored-by: Jordan Harband <[email protected]> * chore: fix missing broken link * docs: remove reference to non-existent document * docs: link fixes * doc: fix AMP contributing link * docs: link fixes in proposals readmes * docs: more link changes * docs: fix old broken github link * Globally replace all /master/ and /main/ to /HEAD/ * doc: update alternate process * doc: remove dead link from old CPC charter doc * doc: remove unnecessary link that doesn't work * ci: rename to link-checker * fixup Co-authored-by: Jordan Harband <[email protected]> Co-authored-by: Eemeli Aro <[email protected]> Co-authored-by: Dylan Schiemann <[email protected]>
1 parent c49faa3 commit 4201e8a

34 files changed

+126
-110
lines changed

.github/workflows/link-checker.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
on:
2+
push:
3+
branches:
4+
- main
5+
pull_request:
6+
types: [opened, synchronize, reopened]
7+
workflow_dispatch:
8+
name: Link Checker
9+
jobs:
10+
linkinator:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
- uses: JustinBeckwith/linkinator-action@v1
15+
with:
16+
paths: "**/*.md"
17+
markdown: true
18+
retry: true
19+
linksToSkip: "https://github.com/openjs-foundation/directory-private"

FOUNDATION_CODE_OF_CONDUCT_REQUIREMENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ of the foundation.
1111
## Code of Conduct
1212

1313
The Foundation has adopted the
14-
[Contributor Covenant v2.0](https://www.contributor-covenant.org/version/2/0/code-of-conduct.md)
14+
[Contributor Covenant v2.0](https://www.contributor-covenant.org/version/2/0/code_of_conduct/)
1515
as its code of conduct and it applies to all foundation activities and spaces. In
1616
addition, projects joining the foundation are required to adopt this code of conduct
1717
within 3 months of joining the foundation.

PROJECT_CHARTER_TEMPLATE.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ _to a colleague who is familiar with related technical concepts but unfamiliar_
2121
_with the project. You may also want to describe the project's value to community_
2222
_and/or business stakeholders._
2323

24-
ex. [K8s SIG Architecture Charter](https://github.com/kubernetes/community/blob//blob/HEAD/sig-architecture/charter.md#scope)
24+
ex. [K8s SIG Architecture Charter](https://github.com/kubernetes/community/blob/HEAD/sig-architecture/charter.md#scope)
2525

2626
### 1.1: In-scope (optional)
2727

@@ -31,7 +31,7 @@ _apparent. This may help differentiate the project from other solutions in the_
3131
_space. If you are not using this section, please indicate your intent with the_
3232
_phrase, 'Section Intentionally Left Blank'._
3333

34-
ex. [K8s SIG Architecture Charter](https://github.com/kubernetes/community/blob//blob/HEAD/sig-architecture/charter.md#in-scope)
34+
ex. [K8s SIG Architecture Charter](https://github.com/kubernetes/community/blob/HEAD/sig-architecture/charter.md#in-scope)
3535

3636
### 1.2: Out-of-Scope (optional)
3737

@@ -41,7 +41,7 @@ _features, contributions, issues or problems the project is looking for._
4141
_If you are not using this section, please indicate your intent with the_
4242
_phrase, 'Section Intentionally Left Blank'._
4343

44-
ex. [K8s SIG Architecture Charter](https://github.com/kubernetes/community/blob//blob/HEAD/sig-architecture/charter.md#out-of-scope)
44+
ex. [K8s SIG Architecture Charter](https://github.com/kubernetes/community/blob/HEAD/sig-architecture/charter.md#out-of-scope)
4545

4646
## Section 2: Relationship with OpenJS Foundation CPC.
4747

@@ -70,7 +70,7 @@ ex. [Node.js TSC Charter](https://github.com/nodejs/TSC/blob/HEAD/TSC-Charter.md
7070

7171
_directions: describe the roles and responsibilities of the ${PROJECT} Governing Body._
7272

73-
ex. [K8s SIG Architecture Charter](https://github.com/kubernetes/community/blob//blob/HEAD/sig-architecture/charter.md#roles-and-organization-management)
73+
ex. [K8s SIG Architecture Charter](https://github.com/kubernetes/community/blob/HEAD/sig-architecture/charter.md#roles-and-organization-management)
7474
ex. [Node.js TSC Charter](https://github.com/nodejs/TSC/blob/HEAD/TSC-Charter.md#section-4-responsibilities-of-the-tsc)
7575

7676
### Section 4.1 Project Operations & Management (optional)
@@ -80,7 +80,7 @@ _${PROJECT} Governing Body may be responsible for regarding process or project_
8080
_operations and management. If you are not using this section, please indicate_
8181
_your intent with the phrase, 'Section Intentionally Left Blank'._
8282

83-
ex. [K8s SIG Architecture Charter](https://github.com/kubernetes/community/blob//blob/HEAD/sig-architecture/charter.md#roles-and-organization-management)
83+
ex. [K8s SIG Architecture Charter](https://github.com/kubernetes/community/blob/HEAD/sig-architecture/charter.md#roles-and-organization-management)
8484
ex. [Node.js TSC Charter](https://github.com/nodejs/TSC/blob/HEAD/TSC-Charter.md#section-5-nodejs-project-operations)
8585

8686
### Section 4.2: Decision-making, Voting, and/or Elections (optional)

PROJECT_PROGRESSION.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,8 +259,8 @@ This is an informational checklist to help projects move to Emeritus Stage. Task
259259
- [ ] Archive the project
260260
- [ ] Move [project logo](https://github.com/openjs-foundation/artwork) to Emeritus Stage section
261261
- [ ] Move project logo on OpenJS Foundation website to Emeritus Stage section
262-
- [ ] Mark project in the [CPC repo's README.md](https://github.com/openjs-foundation/cross-project-council/blob/master/README.md#incubating-projects) as Emeritus
263-
- [ ] Update security policy (see [PROJECT_SECURITY_REPORTING](https://github.com/openjs-foundation/cross-project-council/blob/master/PROJECT_SECURITY_REPORTING.md))
262+
- [ ] Mark project in the [CPC repo's README.md](https://github.com/openjs-foundation/cross-project-council/blob/HEAD/README.md#incubating-projects) as Emeritus
263+
- [ ] Update security policy (see [PROJECT_SECURITY_REPORTING](https://github.com/openjs-foundation/cross-project-council/blob/HEAD/PROJECT_SECURITY_REPORTING.md))
264264

265265

266266
## VI. Annual Review Process

0 commit comments

Comments
 (0)