From 42031b40061f5b75811985500c13c98477942dfd Mon Sep 17 00:00:00 2001 From: Mridul Jain <105979087+Spinachboul@users.noreply.github.com> Date: Tue, 18 Feb 2025 13:13:26 +0530 Subject: [PATCH] Add CI for updating contributors (#395) Reference to discussion in PR https://github.com/sktime/skbase/pull/394 Adds the `update_contributors.yml` CI which is same as in `sktime` --- .github/workflows/update_contributors.yml | 33 +++++++++++++++++++ CONTRIBUTORS.md | 40 ++++++++++++++--------- 2 files changed, 57 insertions(+), 16 deletions(-) create mode 100644 .github/workflows/update_contributors.yml diff --git a/.github/workflows/update_contributors.yml b/.github/workflows/update_contributors.yml new file mode 100644 index 00000000..6a6b788c --- /dev/null +++ b/.github/workflows/update_contributors.yml @@ -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." diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index b42a3949..21fcd7a8 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -1,5 +1,5 @@ -[![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) This project follows the @@ -16,22 +16,30 @@ Thanks goes to these wonderful people - - - - - - - - - - - - - - - + +

RNKuhns

502 contributions

fkiraly

320 contributions

tpvasconcelos

4 contributions

yarnabrina

2 contributions

szepeviktor

2 contributions

lgtm-migrator

1 contribution

Abelarm

1 contribution

MBristle

1 contribution

achieveordie

1 contribution

XinyuWuu

1 contribution
+ + + + + + + + + + + + + + + + +

Franz Kiraly

πŸ’» Code, πŸ”§ Maintenance

Markus LΓΆning

πŸ’» Code

Ryan Kuhns

πŸ’» Code, πŸ”§ Maintenance

Tomas P. de Vasconcelos

πŸ’» Code

Mirko Bristle

πŸ’» Code

Anirban Ray

πŸ’» Code, πŸ”§ Maintenance

Sagar Mishra

πŸ“– Docs

Xinyu Wu

πŸ’» Code

Viktor SzΓ©pe

πŸ”§ Maintenance

Luigi Giugliano

πŸ’» Code

Jahnavi Dhana Sri

πŸ’» Code
+ + + +