From a52a433c5d2b710932bdbcc8319c89ec6bd7d2d4 Mon Sep 17 00:00:00 2001 From: Andreas Textor Date: Mon, 9 Mar 2026 07:40:38 +0100 Subject: [PATCH 1/2] Allow build pipeline to write --- .github/workflows/antora-build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/antora-build.yml b/.github/workflows/antora-build.yml index a8746fd0..0cd7d283 100644 --- a/.github/workflows/antora-build.yml +++ b/.github/workflows/antora-build.yml @@ -5,7 +5,8 @@ on: - main workflow_dispatch: -permissions: {} +permissions: + contents: write jobs: build-and-deploy: From 72319e3cab1df81e98dd26168b40da848bd63bec Mon Sep 17 00:00:00 2001 From: Yauhenikapl <128151284+Yauhenikapl@users.noreply.github.com> Date: Mon, 9 Mar 2026 10:09:36 +0300 Subject: [PATCH 2/2] Modify permissions in antora-build workflow Updated permissions structure in antora-build.yml --- .github/workflows/antora-build.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/antora-build.yml b/.github/workflows/antora-build.yml index 0cd7d283..75dcea91 100644 --- a/.github/workflows/antora-build.yml +++ b/.github/workflows/antora-build.yml @@ -5,13 +5,15 @@ on: - main workflow_dispatch: -permissions: - contents: write +permissions: {} jobs: build-and-deploy: runs-on: ubuntu-latest + permissions: + contents: write + steps: - name: Checkout uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 #v6.0.1