Skip to content

Commit

Permalink
fix: actions/upload-artifact did not worked as i expected; back to co…
Browse files Browse the repository at this point in the history
…mmit-changes method to change the list of contributors;
  • Loading branch information
tahadostifam authored Apr 1, 2024
1 parent b737e20 commit 7348f6c
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/update_contributors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,14 @@ jobs:
run: |
chmod +x main.rb
ruby main.rb
- uses: actions/upload-artifact@v4
- name: Commit changes
run: |
git config --local user.name "tahadostifam"
git config --local user.email "[email protected]"
git add ./json/contributors.json
git commit -m "Contributors list located at json/contributors.json updated by github-worfklow"
- name: Push changes # push the output folder to your repo
uses: ad-m/github-push-action@master
with:
name: Contributors List
path: ./json/contributors.json
github_token: ${{ secrets.GITHUBPA }}
force: true

0 comments on commit 7348f6c

Please sign in to comment.