From b949185f00abb28863f5cb43913dfd33be658c98 Mon Sep 17 00:00:00 2001 From: Jonah Aragon Date: Mon, 16 Feb 2026 21:51:36 -0600 Subject: [PATCH] ci: Fix donating members list generation (#3200) --- .github/workflows/build-pr.yml | 4 ++++ .github/workflows/build-zimfile.yml | 6 ++++++ .github/workflows/build.yml | 5 +++++ .github/workflows/publish-release.yml | 2 ++ .github/workflows/test-build.yml | 2 ++ 5 files changed, 19 insertions(+) diff --git a/.github/workflows/build-pr.yml b/.github/workflows/build-pr.yml index 2f565fc12..bd6c5907c 100644 --- a/.github/workflows/build-pr.yml +++ b/.github/workflows/build-pr.yml @@ -72,6 +72,8 @@ jobs: continue-on-error: false privileged: ${{ fromJSON(needs.metadata.outputs.privileged) }} strict: true + secrets: + MEMBERS_API_URL: ${{ secrets.MEMBERS_API_URL }} build_i18n: if: ${{ contains(github.event.pull_request.labels.*.name, 'ci:build i18n') }} @@ -88,6 +90,8 @@ jobs: continue-on-error: true privileged: ${{ fromJSON(needs.metadata.outputs.privileged) }} strict: true + secrets: + MEMBERS_API_URL: ${{ secrets.MEMBERS_API_URL }} build_blog: if: ${{ contains(github.event.pull_request.labels.*.name, 'ci:build blog') }} diff --git a/.github/workflows/build-zimfile.yml b/.github/workflows/build-zimfile.yml index ce8920e07..f4afb3d88 100644 --- a/.github/workflows/build-zimfile.yml +++ b/.github/workflows/build-zimfile.yml @@ -79,6 +79,8 @@ jobs: sudo apt install pngquant - name: Generate Donating Members List + env: + MEMBERS_API_URL: ${{ secrets.MEMBERS_API_URL }} continue-on-error: true run: | pip install requests @@ -218,6 +220,8 @@ jobs: sudo apt install pngquant - name: Generate Donating Members List + env: + MEMBERS_API_URL: ${{ secrets.MEMBERS_API_URL }} continue-on-error: true run: | pip install requests @@ -465,6 +469,8 @@ jobs: sudo apt install pngquant - name: Generate Donating Members List + env: + MEMBERS_API_URL: ${{ secrets.MEMBERS_API_URL }} continue-on-error: true run: | pip install requests diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9111a97c5..a571d5ab8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,6 +30,9 @@ on: cache: type: boolean default: true + secrets: + MEMBERS_API_URL: + required: false permissions: contents: read @@ -173,6 +176,8 @@ jobs: echo "EXTRA_FLAGS=""$EXTRA_FLAGS" --cmd=mkdocs"" >> "$GITHUB_ENV" - name: Generate Donating Members List + env: + MEMBERS_API_URL: ${{ secrets.MEMBERS_API_URL }} continue-on-error: true run: | pip install requests diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 82251a054..e822f8852 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -63,6 +63,8 @@ jobs: context: production continue-on-error: false cache: false + secrets: + MEMBERS_API_URL: ${{ secrets.MEMBERS_API_URL }} build_blog: needs: submodule diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml index 7d4e82328..2c4e0044e 100644 --- a/.github/workflows/test-build.yml +++ b/.github/workflows/test-build.yml @@ -53,6 +53,8 @@ jobs: repo: ${{ github.repository }} lang: ${{ matrix.lang }} continue-on-error: true + secrets: + MEMBERS_API_URL: ${{ secrets.MEMBERS_API_URL }} cleanup: if: ${{ always() }}