Update Profile README #171
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
| name: Update Profile README | |
| on: | |
| schedule: | |
| - cron: '0 5 * * *' | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| refresh: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' | |
| - uses: astral-sh/setup-uv@v5 | |
| with: | |
| enable-cache: true | |
| - run: uv sync --all-groups --frozen | |
| - name: Update README | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.SCORE_BOT_PAT }} | |
| run: uv run generate-profile-readme | |
| - name: Collect metrics | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.SCORE_BOT_PAT }} | |
| run: uv run python scripts/collect_metrics.py | |
| - name: Create Pull Request | |
| uses: peter-evans/create-pull-request@v7 | |
| with: | |
| title: Update profile README and metrics | |
| author: eclipse-score-bot <187756813+eclipse-score-bot@users.noreply.github.com> | |
| committer: eclipse-score-bot <187756813+eclipse-score-bot@users.noreply.github.com> | |
| body: | | |
| This PR updates: | |
| - The repository descriptions and grouping in `profile/README.md` | |
| - The cross-repo metrics report in `profile/metrics.md` | |
| Please review and merge if everything looks good. | |
| commit-message: "chore: auto-refresh profile readme and metrics" | |
| base: main | |
| branch: bot/status-update | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.SCORE_BOT_PAT }} |