Skip to content

Commit 00b6118

Browse files
Merge pull request #15 from r-devel/8_contributors
Add all contributors
2 parents da8b823 + bd955e1 commit 00b6118

4 files changed

Lines changed: 112 additions & 0 deletions

File tree

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
on:
2+
workflow_dispatch:
3+
push:
4+
branches:
5+
- main
6+
schedule:
7+
# - cron: '0 12 * * 0' # weekly on Sunday at 12:00
8+
- cron: '0 12 1 * *' # monthly on day 1 at 12:00
9+
10+
name: Update allcontributoes
11+
12+
jobs:
13+
14+
allcontributors:
15+
16+
env:
17+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18+
19+
name: Update allcontributors
20+
21+
runs-on: ubuntu-latest
22+
23+
steps:
24+
25+
- uses: actions/checkout@v4
26+
27+
- uses: r-lib/actions/setup-pandoc@v2
28+
29+
- uses: r-lib/actions/setup-r@v2
30+
31+
- uses: r-lib/actions/setup-r@v2
32+
- uses: r-lib/actions/setup-r-dependencies@v2
33+
with:
34+
cache-version: 5
35+
36+
- name: Install allcontributors package
37+
run: R CMD INSTALL .
38+
39+
- name: Update allcontributors
40+
run: Rscript -e 'allcontributors::add_contributors()'
41+
42+
- name: Commit results
43+
run: |
44+
git config user.name "Github Actions"
45+
git config user.email "github-actions@github.com"
46+
git commit README.md -m 'Update allcontributors on README.Rmd' || echo "No changes to commit"
47+
git push https://${{github.actor}}:${{secrets.GITHUB_TOKEN}}@github.com/${{github.repository}}.git HEAD:${{ github.ref }} || echo "No changes to commit"

README.Rmd

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,35 @@ This is a basic example which shows you how to solve a common problem:
3333
library(glossary)
3434
## basic example code
3535
```
36+
37+
## Contributors
38+
39+
40+
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
41+
<!-- prettier-ignore-start -->
42+
<!-- markdownlint-disable -->
43+
44+
All contributions to this project are gratefully acknowledged using the [`allcontributors` package](https://github.com/ropensci/allcontributors) following the [all-contributors](https://allcontributors.org) specification. Contributions of any kind are welcome!
45+
46+
<table>
47+
48+
<tr>
49+
<td align="center">
50+
<a href="https://github.com/SaranjeetKaur">
51+
<img src="https://avatars.githubusercontent.com/u/28556616?v=4" width="100px;" alt=""/>
52+
</a><br>
53+
<a href="https://github.com/r-devel/glossary/commits?author=SaranjeetKaur">SaranjeetKaur</a>
54+
</td>
55+
<td align="center">
56+
<a href="https://github.com/rivaquiroga">
57+
<img src="https://avatars.githubusercontent.com/u/31421616?v=4" width="100px;" alt=""/>
58+
</a><br>
59+
<a href="https://github.com/r-devel/glossary/commits?author=rivaquiroga">rivaquiroga</a>
60+
</td>
61+
</tr>
62+
63+
</table>
64+
65+
<!-- markdownlint-enable -->
66+
<!-- prettier-ignore-end -->
67+
<!-- ALL-CONTRIBUTORS-LIST:END -->

README.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,35 @@ This is a basic example which shows you how to solve a common problem:
3333
library(glossary)
3434
## basic example code
3535
```
36+
37+
## Contributors
38+
39+
40+
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
41+
<!-- prettier-ignore-start -->
42+
<!-- markdownlint-disable -->
43+
44+
All contributions to this project are gratefully acknowledged using the [`allcontributors` package](https://github.com/ropensci/allcontributors) following the [all-contributors](https://allcontributors.org) specification. Contributions of any kind are welcome!
45+
46+
<table>
47+
48+
<tr>
49+
<td align="center">
50+
<a href="https://github.com/SaranjeetKaur">
51+
<img src="https://avatars.githubusercontent.com/u/28556616?v=4" width="100px;" alt=""/>
52+
</a><br>
53+
<a href="https://github.com/r-devel/glossary/commits?author=SaranjeetKaur">SaranjeetKaur</a>
54+
</td>
55+
<td align="center">
56+
<a href="https://github.com/rivaquiroga">
57+
<img src="https://avatars.githubusercontent.com/u/31421616?v=4" width="100px;" alt=""/>
58+
</a><br>
59+
<a href="https://github.com/r-devel/glossary/commits?author=rivaquiroga">rivaquiroga</a>
60+
</td>
61+
</tr>
62+
63+
</table>
64+
65+
<!-- markdownlint-enable -->
66+
<!-- prettier-ignore-end -->
67+
<!-- ALL-CONTRIBUTORS-LIST:END -->

inst/WORDLIST

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CMD

0 commit comments

Comments
 (0)