Merge branch 'sktime:main' into momentfm #19
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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." |