From bd82cfe49b95689f529a8433b7ac84a52dbc54f2 Mon Sep 17 00:00:00 2001 From: Jake Cahill <45230295+JakeSCahill@users.noreply.github.com> Date: Thu, 25 Sep 2025 09:48:30 +0100 Subject: [PATCH] Fix acceptance tests fetcher --- .github/workflows/fetch-acceptance-tests.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/fetch-acceptance-tests.yml b/.github/workflows/fetch-acceptance-tests.yml index fed164fc56..3300f8b131 100644 --- a/.github/workflows/fetch-acceptance-tests.yml +++ b/.github/workflows/fetch-acceptance-tests.yml @@ -9,7 +9,8 @@ jobs: runs-on: ubuntu-24.04 permissions: id-token: write - contents: read + contents: write + pull-requests: write steps: - name: configure aws credentials uses: aws-actions/configure-aws-credentials@v4 @@ -27,7 +28,6 @@ jobs: with: ref: main token: ${{ env.ACTIONS_BOT_TOKEN }} - path: redpanda-docs - name: Set up Node.js uses: actions/setup-node@v4 with: @@ -36,7 +36,7 @@ jobs: run: | npm install - name: Run the script and save the output - run: npx doc-tools fetch -o redpanda-data -r redpanda-operator -p acceptance/features -d ../../modules/manage/examples/kubernetes + run: npx doc-tools fetch -o redpanda-data -r redpanda-operator -p acceptance/features -d modules/manage/examples/kubernetes env: VBOT_GITHUB_API_TOKEN: ${{ env.ACTIONS_BOT_TOKEN }} - name: Create pull request @@ -48,4 +48,3 @@ jobs: title: "auto-docs: Update K8s acceptance tests" body: "This PR auto-updates the acceptance tests we use as examples in our Kubernetes docs." labels: auto-docs - path: redpanda-docs