Skip to content

Commit 32070d2

Browse files
authored
Fix links in Repository Activity Score (2nd try) (#411)
* Point GitHub links in "Repository Activity Score" to the redirect target. * Prevent further links checks for failing GitHub links (by excluding those links in the GHA workflow) * "Crossing the InnerSource Chasm": Fix link to a pattern that got renamed * "Crossing the InnerSource Chasm": Fix some typos
1 parent 4fd2b9a commit 32070d2

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/link-checker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ jobs:
2121
id: lc
2222
uses: peter-evans/link-checker@v1
2323
with:
24-
args: -v -d . -x "http://creativecommons.org/licenses|https://isc-inviter.herokuapp.com|https://github.com/rcs/rcs-viewer/pull/81|fearlesschangepatterns.com|https://ulir.ul.ie/bitstream/handle/10344/4443/Stol_2014_inner.pdf" README.md patterns/ -r
24+
args: -v -d . -x "http://creativecommons.org/licenses|https://isc-inviter.herokuapp.com|https://github.com/rcs/rcs-viewer/pull/81|fearlesschangepatterns.com|https://ulir.ul.ie/bitstream/handle/10344/4443/Stol_2014_inner.pdf|https://docs.github.com/en/rest/metrics/statistics|https://docs.github.com/en/rest/search#search-repositories" README.md patterns/ -r
2525
- name: Fail if there were link errors
2626
run: exit ${{ steps.lc.outputs.exit_code }}

patterns/1-initial/crossing-chasm.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ written solutions with people following your trail.
6969
* Share external material (bonus points if that is material that colleagues
7070
created earlier: talks, blog articles, book chapters, magazine articles, videos
7171
etc.)
72-
* Co-create a document of shared [InnerSource Principles](../1-initial/explicit-innersource-principles.md).
72+
* Co-create a document of shared [InnerSource Principles](../2-structured/document-your-guiding-principles.md).
7373

7474
### Steps for pragmatists
7575

@@ -85,19 +85,19 @@ etc.)
8585
hires.
8686
* Integrate any tooling and any experiments you have run into established
8787
company structures (e.g. GitHub/ GitLab instances are under a regular plan,
88-
accounts are easy to create and integrated with e.g. coporate single sign on
88+
accounts are easy to create and integrated with e.g. corporate single sign-on
8989
solutions, in-house support can provide help for these tools).
9090
* Provide low effort opportunities for learning (e.g. put little riddles in your
9191
coffee kitchen or whatever the digital alternative is for your company.)
9292
* Ship bite sized learning pieces to inboxes.
93-
* Pull in external expertise - sometimes in house expertise counts much less
93+
* Pull in external expertise - sometimes in-house expertise counts much less
9494
than external statements.
9595

9696
### Steps for laggards
9797

9898
* Incorporate InnerSource into career competencies description.
9999

100-
## Resulting context
100+
## Resulting Context
101101

102102
* The InnerSource initiative can reach teams with various innovation
103103
preferences.

patterns/2-structured/repository-activity-score.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ The repository activity score is a numeric value that represents the (GitHub) ac
4646
In addition, it considers activity parameters like last update and creation date of the repo to give young projects with a lot of traction a boost.
4747
Projects with contributing guidelines, active participation stats, and issues (public backlog) receive a higher ranking as well.
4848

49-
All of this can be fetched and calculated automatically using the result set of the [GitHub search API](https://docs.github.com/en/rest/reference/search#search-repositories) and [GitHub statistics API](https://docs.github.com/en/rest/reference/metrics#statistics). Other code versioning systems like BitBucket, Gitlab, Gerrit can be integrated as well if a similar API is available.
49+
All of this can be fetched and calculated automatically using the result set of the [GitHub search API](https://docs.github.com/en/rest/search#search-repositories) and [GitHub statistics API](https://docs.github.com/en/rest/metrics/statistics). Other code versioning systems like BitBucket, Gitlab, Gerrit can be integrated as well if a similar API is available.
5050

5151
The code below assumes the variable `repo` contains an entity fetched from the GitHub `search` API and the `participation` object contains an entity from the GitHub `stats/participation` API.
5252

0 commit comments

Comments
 (0)