Small fix in the workflow (#4508)

This commit is contained in:
Eric Fennis
2026-06-30 19:15:07 +02:00
committed by GitHub
parent f59db07ef9
commit 9cb4e49849
+3 -7
View File
@@ -10,21 +10,17 @@ 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.11.1
node-version: 24
- name: Install Copilot CLI
run: npm install -g @github/copilot
- name: Run the prompt
env:
COPILOT_GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
COPILOT_GITHUB_TOKEN: ${{ secrets.GITHUB_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"