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 @@ -[](#contributors) +[](#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 |
+