From b36eeeaac5c5aa622f8fa0a3b72d6b2c70265f3b 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 | 27 +++++++++++++++++++++++++++ 1 file changed, 27 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..e30df800328c --- /dev/null +++ b/.github/workflows/maintainer-list.yml @@ -0,0 +1,27 @@ +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: "$GITHUB_TOKEN" + run: | + ./dist/tools/maintainer-list/maintainer-list.py