Star History #35
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Regenerates the star-history charts daily and publishes them to the | |
| # star-history branch. See https://github.com/Flux159/rust-star-history | |
| name: Star History | |
| on: | |
| schedule: | |
| - cron: '0 5 * * *' # daily 05:00 UTC | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| jobs: | |
| star-history: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: Flux159/rust-star-history@v1.1.1 | |
| id: chart | |
| # Stargazer fetches occasionally hit GitHub's transient anti-scraping | |
| # 403 block for minutes at a time; a skipped update is harmless (the | |
| # next scheduled run catches up), so warn instead of failing the run | |
| continue-on-error: true | |
| with: | |
| # The automatic workflow token cannot list stargazers since | |
| # GitHub's 2026 API change; this is a read-only fine-grained PAT | |
| token: ${{ secrets.STAR_HISTORY_TOKEN }} | |
| - name: Warn instead of failing | |
| if: ${{ steps.chart.outcome == 'failure' }} | |
| run: echo "::warning::Chart update failed (likely GitHub's transient rate-limit block); charts were not refreshed this run" |