Skip to content
This repository was archived by the owner on Jul 28, 2024. It is now read-only.

Commit 02395e8

Browse files
kkrishguptaakrishguptadevschmeltoNicholas Carrigan (he/him)github-actions[bot]
authored
feat: sort profiles with gh-action and script (#782)
* feat: sort automation * feat(sort): github action * style(data): sort alphabetically * chore(data): format file * style(data): sort alphabetically * fix: prettify code * feat: remove prettify * Update sort.yml * Update sort.yml * ci: fix issues * Update sort.yml * feat: auto commit action * style(data): sort alphabetically * fix: unformatted files * fix: unformatted files * style: format files * fix: errors in json * fix: script doesn't run * fix: install deps * Apply suggestions from code review Co-authored-by: Tom Schmelzer <[email protected]> * style(data): sort alphabetically * chore: delete data.json * feat: autogenerate data.json * feat: use autogenerate * feat: update license * chore(profile-addition): migration from data.json * Delete sort.yml * Update generate.js Co-authored-by: Nicholas Carrigan (he/him) <[email protected]> * Merge branch * Merrge branch * Updating the `profiles.md` file * fix: issues in cayman theme Co-authored-by: krishguptadev <[email protected]> Co-authored-by: Tom Schmelzer <[email protected]> Co-authored-by: Nicholas Carrigan (he/him) <[email protected]> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 199ad9f commit 02395e8

File tree

284 files changed

+1721
-1670
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

284 files changed

+1721
-1670
lines changed

.github/workflows/main.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,19 @@ jobs:
77
name: Update README from json data
88
steps:
99
- uses: actions/checkout@v2
10+
- uses: actions/setup-node@v2
11+
with:
12+
node-version: "14"
13+
cache: "npm"
14+
- run: |
15+
npm i
16+
node generate.js
1017
- name: "Read/Write profiles' data"
1118
uses: EddieHubCommunity/gh-actions-html-table-generator@main
1219
with:
13-
json-file-path: "data.json"
20+
json-file-path: ".cache/data.json"
1421
github-token: ${{ secrets.GITHUB_TOKEN }}
1522
columns: 3
1623
file-to-use: "profiles.md"
17-
object-field-names: '[ "githubUsername", "name", "imageUrl", "issueNumber" ]'
18-
html-cell: '<td align="center"><p><a href="https://github.com/{{ githubUsername }}">{{ name }}</a></p><img src="{{ imageUrl }}" /><p><a href="https://github.com/EddieHubCommunity/awesome-github-profiles/issues/{{ issueNumber }}">(💯 give your vote)</a></p></td>'
24+
object-field-names: '[ "username", "name", "image", "issueId" ]'
25+
html-cell: '<td align="center"><p><a href="https://github.com/{{ username }}">{{ name }}</a></p><img src="{{ image }}" /><p><a href="https://github.com/EddieHubCommunity/awesome-github-profiles/issues/{{ issueId }}">(💯 give your vote)</a></p></td>'

.prettierignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.cache
2+
# I don't think prettier knows how to format that file
3+
_layouts

0 commit comments

Comments
 (0)