From 6ef1bb9fadc23e55abe0f7c7726c8a0c86a621ee 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 | 25 +++++++++++++++++++++++++ 1 file changed, 25 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..306cdc855bbf --- /dev/null +++ b/.github/workflows/maintainer-list.yml @@ -0,0 +1,25 @@ +name: maintainer-list + +on: + push: + branches: + - master + +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