Skip to content

Commit

Permalink
Merge branch 'main' into all-contributors/add-Spinachboul
Browse files Browse the repository at this point in the history
  • Loading branch information
fkiraly committed Feb 18, 2025
2 parents 6f956dd + 42031b4 commit 96458f0
Showing 1 changed file with 33 additions and 0 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."

0 comments on commit 96458f0

Please sign in to comment.