Skip to content

Update stars

Update stars #8955

Workflow file for this run

name: Update stars
on:
schedule:
# hourly
- cron: 0 */6 * * *
jobs:
update_stars:
runs-on: ubuntu-latest
steps: [
{ name: 'Checkout', uses: actions/checkout@v2, with: { fetch-depth: 1 } },
{ name: 'Install Python', uses: actions/setup-python@v4, with: { python-version: 3.10.5, architecture: x64 } },
{ name: 'Install Requests', run: 'pip install --user requests' },
{ name: 'Update stars', run: 'python update.py --githubtoken=${{ secrets.SERVICES_GITHUB_TOKEN }} starcount' },
{ name: 'Commit changes', run: 'python update.py --githubtoken=${{ secrets.SERVICES_GITHUB_TOKEN }} commit' }]