Skip to content

Commit

Permalink
chore: add collaborators example.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Nov 12, 2022
1 parent 31a5641 commit a6326c4
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 8 deletions.
21 changes: 15 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,19 +71,28 @@ jobs:
uses: jaywcjlove/github-action-modify-file-content@main
with:
path: README.md
openDelimiter: '<!--GAMFC_TABEL_HIDE_NAME_BOTS-->'
closeDelimiter: '<!--GAMFC_TABEL_HIDE_NAME_BOTS-END-->'
openDelimiter: '<!--GAMFC_TABEL-->'
closeDelimiter: '<!--GAMFC_TABEL-END-->'
body: |
${{steps.contributor_name.outputs.htmlTableBots}}
${{steps.contributor_table.outputs.htmlTable}}
- name: Modify README.md
uses: jaywcjlove/github-action-modify-file-content@main
with:
path: README.md
openDelimiter: '<!--GAMFC_TABEL-->'
closeDelimiter: '<!--GAMFC_TABEL-END-->'
openDelimiter: '<!--GAMFC_TABEL_BOTS-->'
closeDelimiter: '<!--GAMFC_TABEL_BOTS-END-->'
body: |
${{steps.contributor_table.outputs.htmlTable}}
${{steps.contributor_table.outputs.htmlTableBots}}
- name: Modify README.md
uses: jaywcjlove/github-action-modify-file-content@main
with:
path: README.md
openDelimiter: '<!--GAMFC_TABEL_COLLABORATORS_BOTS-->'
closeDelimiter: '<!--GAMFC_TABEL_COLLABORATORS_BOTS-END-->'
body: |
${{steps.contributor_table.outputs.htmlTableBots}}
- name: Create Tag
id: create_tag
Expand Down
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Write contributors(**`htmlTable`**) to markdown Example:

Bot Users:

<!--GAMFC_TABEL_HIDE_NAME_BOTS--><table><tr>
<!--GAMFC_TABEL_BOTS--><table><tr>
<td align="center">
<a href="https://github.com/github-actions[bot]">
<img src="https://avatars.githubusercontent.com/in/15368?v=4" width="100;" alt="github-actions[bot]"/>
Expand All @@ -40,7 +40,11 @@ Bot Users:
<img src="https://avatars.githubusercontent.com/in/2740?v=4" width="100;" alt="renovate[bot]"/>
</a>
</td>
</tr></table><!--GAMFC_TABEL_HIDE_NAME_BOTS-END-->
</tr></table><!--GAMFC_TABEL_BOTS-END-->

Collaborators Users:

<!--GAMFC_TABEL_COLLABORATORS_BOTS--><!--GAMFC_TABEL_COLLABORATORS_BOTS-END-->

Write contributors(**`htmlList`**) to markdown Example:

Expand Down

0 comments on commit a6326c4

Please sign in to comment.