From 7491d8939a6e661a5a4cc0e09965059560daa5d3 Mon Sep 17 00:00:00 2001 From: Eric Fennis Date: Tue, 30 Jun 2026 20:01:18 +0200 Subject: [PATCH] Revert "Small fix in the workflow (#4508)" This reverts commit 9cb4e49849c47155cf14c34cd58472ad3053ae25. --- .github/workflows/repo-journal.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/repo-journal.yml b/.github/workflows/repo-journal.yml index a46869233..033ce7906 100644 --- a/.github/workflows/repo-journal.yml +++ b/.github/workflows/repo-journal.yml @@ -10,17 +10,21 @@ jobs: weekly-summary: runs-on: ubuntu-latest steps: + - name: Checkout + uses: actions/checkout@v6 + with: + fetch-depth: 0 + - name: Set up Node.js environment uses: actions/setup-node@v4 with: - node-version: 24 - + node-version: 24.11.1 - name: Install Copilot CLI run: npm install -g @github/copilot - name: Run the prompt env: - COPILOT_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + COPILOT_GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }} run: | copilot -p "${{ vars.REPO_REPORT_PROMPT }} Write the details to summary.md" --allow-tool='shell(git:*)' --allow-tool=write --no-ask-user cat summary.md >> "$GITHUB_STEP_SUMMARY"