Skip to content

Merge branch 'main' into pr/7389 #2

Merge branch 'main' into pr/7389

Merge branch 'main' into pr/7389 #2

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 [email protected]
- 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."