31 lines
623 B
YAML
31 lines
623 B
YAML
name: Repo State
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
repo-state:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: "3.11"
|
|
|
|
- name: Generate repo state
|
|
run: |
|
|
python3 tools/repo_state/collect.py --repo-name RTC_BL_PHONE
|
|
|
|
- name: Upload repo-state artifact
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: repo-state
|
|
path: |
|
|
docs/REPO_STATE.md
|
|
docs/repo_state.json
|