Skip to content

Commit

Permalink
moved yml file one level up
Browse files Browse the repository at this point in the history
  • Loading branch information
uchendui committed Sep 21, 2023
1 parent fedddd7 commit ba8a702
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/auto-add-contributors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
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
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import json
import os

CONTRIBUTORS_TMP_FILE = 'CONTRIBUTORS.md'
CONTRIBUTORS_TMP_FILE = 'CONTRIBUTORS_TEMP.txt'
CONTRIBUTORS_FILE = '.all-contributorsrc'


Expand Down

0 comments on commit ba8a702

Please sign in to comment.