Skip to content

Update Repository States #189

Update Repository States

Update Repository States #189

name: Update Repository States
on:
schedule:
- cron: '0 5 * * *'
workflow_dispatch:
permissions:
contents: write
pull-requests: write
jobs:
refresh:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: 'pip'
cache-dependency-path: requirements.txt
- run: pip install -r requirements.txt
- name: Update README
env:
GITHUB_TOKEN: ${{ github.token }}
run: python scripts/update_readme.py
- name: Collect metrics
env:
GITHUB_TOKEN: ${{ github.token }}
run: python scripts/collect_metrics.py
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
title: Update status and metrics
author: eclipse-score-bot <[email protected]>
committer: eclipse-score-bot <[email protected]>
body: |
This PR updates:
- The repository descriptions and status 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 status column"
base: main
branch: bot/status-update
env:
GITHUB_TOKEN: ${{ secrets.SCORE_BOT_PAT }}