Skip to content

Commit

Permalink
ci: autogenerate CONTRIBUTORS.md during release
Browse files Browse the repository at this point in the history
  • Loading branch information
tombh committed Jul 7, 2023
1 parent 357ff12 commit 35c241f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ jobs:
git config --global user.email 'github.action@users.noreply.github.com'
git commit -am "chore: update changelog"
git push
- name: Update CONTRIBUTORS.md
run: |
poetry run poe generate_contributors_md
if [[ $(git diff --stat CONTRIBUTORS.md) != '' ]]; then
git commit -am "chore: update CONTRIBUTORS.md"
git push
fi
- name: Release
run: |
poetry build
Expand Down

0 comments on commit 35c241f

Please sign in to comment.