Skip to content

Commit f55e099

Browse files
committed
Tmp
1 parent 43a1eda commit f55e099

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

.github/workflows/copilot.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Daily summary
2+
on:
3+
push:
4+
permissions:
5+
contents: read
6+
jobs:
7+
daily-summary:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout
11+
uses: actions/checkout@v5
12+
13+
- name: Set up Node.js environment
14+
uses: actions/setup-node@v4
15+
16+
- name: Install Copilot CLI
17+
run: npm install -g @github/copilot
18+
19+
- name: Run Copilot CLI
20+
env:
21+
COPILOT_GITHUB_TOKEN: ${{ secrets.PERSONAL_COPILOT_GITHUB_TOKEN }}
22+
run: |
23+
TODAY=$(date +%Y-%m-%d)
24+
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."

0 commit comments

Comments
 (0)