diff --git a/.github/workflows/auto-add-contributors.yml b/.github/workflows/auto-add-contributors.yml index 4da11b06..ad9b9035 100644 --- a/.github/workflows/auto-add-contributors.yml +++ b/.github/workflows/auto-add-contributors.yml @@ -29,15 +29,15 @@ jobs: echo "🔎 Getting all contributors from the ${{ github.ref }} branch." PUSHED_CONTRIBUTORS=$(git shortlog -sne --no-merges ${{ github.event.before }}..${{ github.sha }}) echo "The contributors are: $PUSHED_CONTRIBUTORS" - - - name: Preprocessing Contributors - run: | - echo "hi" - name: Saving contributors to CONTRIBUTORS_TEMP.txt run: | echo "Saving contributors to CONTRIBUTORS_TEMP.txt" echo "$PUSHED_CONTRIBUTORS" > CONTRIBUTORS_TEMP.txt - name: Adding contributors to CONTRIBUTORS.md run: | - echo "Adding contributors to CONTRIBUTORS.md" - python3.11 .github/actions/update_contributors/update_contributors.py \ No newline at end of file + echo "Adding contributors to CONTRIBUTORS.txt" + python3.11 .github/actions/update_contributors/update_contributors.py + - name: Running Python Script to Update .all-contributorsrc + run: | + echo "Running Python Script to Update .all-contributorsrc" + python3.11 .github/actions/update_contributors/update_all_contributorsrc.py \ No newline at end of file diff --git a/.github/workflows/update_contributors/update_contributors.py b/.github/workflows/update_contributors/update_contributors.py index d3127e6d..893a3695 100644 --- a/.github/workflows/update_contributors/update_contributors.py +++ b/.github/workflows/update_contributors/update_contributors.py @@ -2,7 +2,7 @@ import json import os -CONTRIBUTORS_TMP_FILE = 'CONTRIBUTORS.md' +CONTRIBUTORS_TMP_FILE = 'CONTRIBUTORS_TEMP.txt' CONTRIBUTORS_FILE = '.all-contributorsrc'