forked from ome/devspace
-
Notifications
You must be signed in to change notification settings - Fork 0
25 lines (22 loc) · 755 Bytes
/
Copy pathcopilot.yml
File metadata and controls
25 lines (22 loc) · 755 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
name: Daily summary
on:
push:
permissions:
contents: read
jobs:
daily-summary:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Set up Node.js environment
uses: actions/setup-node@v4
- name: Install Copilot CLI
run: npm install -g @github/copilot
- name: Run Copilot CLI
shell: bash
env:
COPILOT_GITHUB_TOKEN: ${{ secrets.PERSONAL_COPILOT_GITHUB_TOKEN }}
run: |
TODAY=$(date +%Y-%m-%d)
copilot -p "Review the git log for this repository and write a bullet point summary of all code changes that were made today ($TODAY). Include a brief description of what was changed." --allow-tool 'shell(git)'