forked from EddieHubCommunity/awesome-github-profiles
-
Notifications
You must be signed in to change notification settings - Fork 2
17 lines (16 loc) · 798 Bytes
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
on: [push]
jobs:
table:
runs-on: ubuntu-latest
name: Update README from json data
if: github.repository_owner == 'EddieHubCommunity'
steps:
- uses: actions/checkout@v2
- name: Read/Write data into README
uses: eddiejaoudecommunity/[email protected]
with:
json-file-path: "data.json"
github-token: ${{ secrets.GITHUB_TOKEN }}
columns: 3
object-field-names: '[ "githubUsername", "name", "imageUrl", "issueNumber" ]'
html-cell: '<td align="center"><p><a href="https://github.com/{{ githubUsername }}">{{ name }}</a></p><img src="{{ imageUrl }}" /><p><a href="https://github.com/EddieJaoudeCommunity/awesome-github-profiles/issues/{{ issueNumber }}">(💯 give your vote)</a></p></td>'