From 449eb0dd050c392e09cd0a7e5575d22dba8653f0 Mon Sep 17 00:00:00 2001 From: Martine Lenders Date: Fri, 6 Dec 2024 15:26:43 +0100 Subject: [PATCH] gh-actions: add maintainer-list workflow --- .github/workflows/maintainer-list.yml | 29 +++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/maintainer-list.yml diff --git a/.github/workflows/maintainer-list.yml b/.github/workflows/maintainer-list.yml new file mode 100644 index 000000000000..4196369f5a36 --- /dev/null +++ b/.github/workflows/maintainer-list.yml @@ -0,0 +1,29 @@ +name: maintainer-list + +permissions: read-all + +on: + push: + branches: + - testing-maintainer-list + +jobs: + maintainer-list: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@main + - name: Set up Python 3.12 + uses: actions/setup-python@v5 + with: + python-version: 3.12 + - name: Install Python dependencies + run: | + python -m pip install --upgrade pip + python -m pip install -r dist/tools/maintainer-list/requirements.txt + - name: Update doc/doxygen/src/maintainers.md + env: + GITHUB_TOKEN: ${{ secrets.RIOT_CI_ACCESS_TOKEN }} + run: | + ./dist/tools/maintainer-list/maintainer-list.py + - name: Check maintainers.md + run: cat doc/doxygen/src/maintainers.md