Skip to content

Commit

Permalink
chore: make the update-contributors workflow run monthly (#3632)
Browse files Browse the repository at this point in the history
* chore: make the update-contributors workflow run monthly

* Run on the first Sunday of the month
  • Loading branch information
aleks-p authored Oct 17, 2024
1 parent 2640583 commit b53c2b5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/update-contributors.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Update Contributors in README

on:
push:
branches: [main]
schedule:
- cron: '0 0 1-7 * SUN'

jobs:
update-contributors:
Expand All @@ -24,7 +24,7 @@ jobs:
git config --local user.email '[email protected]'
if ! git diff --exit-code README.md; then
git add README.md
git commit -m 'docs: updates the list of contributors in README [skip ci]'
git commit -m 'docs: updates the list of contributors in README'
gh auth status
git push --force https://x-access-token:${{ secrets.BOT_GITHUB_TOKEN }}@github.com/${{ github.repository }}.git HEAD:main
fi
Expand Down

0 comments on commit b53c2b5

Please sign in to comment.