-
Notifications
You must be signed in to change notification settings - Fork 794
Expand file tree
/
Copy pathchangelog-drafter.yml
More file actions
44 lines (36 loc) · 1.46 KB
/
Copy pathchangelog-drafter.yml
File metadata and controls
44 lines (36 loc) · 1.46 KB
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Changelog Drafter (example)
on:
schedule:
- cron: '30 18 * * *' # daily evening
workflow_dispatch:
# push:
# tags: [ 'v*' ] # also trigger on release tags
jobs:
draft:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Setup (example — adapt to your runtime)
uses: actions/setup-node@v6
with:
node-version: '22'
# In a real Grok / Claude / Codex automation this would call the loop.
# Here we document the intent so a human or scheduled TUI job can pick it up,
# or you wire it to your agent platform's GitHub Action integration.
- name: Placeholder — run the drafter
run: |
echo "Run your agent with the changelog-drafter prompt here."
echo "Produce RELEASE_NOTES_DRAFT.md and update changelog-drafter-state.md."
echo "This workflow is an example trigger + comment surface."
- name: Comment draft location on a tracking issue (optional)
if: github.event_name == 'workflow_dispatch'
uses: actions/github-script@v9
with:
script: |
// Post a comment or create/update a release-prep issue with link to the draft.
console.log('In production: comment with link to RELEASE_NOTES_DRAFT.md and the loop run id.');
```
This gives a starting point for event-driven or scheduled release note generation.
Now the big one: showcase enhancement.