Skip to content

Commit fd15471

Browse files
fix: include created timestamp and suggested username in metadata.yaml
1 parent 94dc896 commit fd15471

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/plot-prepare.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ jobs:
9191
### Issue Details
9292
- **Title:** ${{ github.event.issue.title }}
9393
- **Number:** #${{ github.event.issue.number }}
94+
- **Author:** ${{ github.event.issue.user.login }}
9495
- **Is Update:** ${{ steps.check.outputs.is_update }}
9596
- **Body:**
9697
```
@@ -125,7 +126,10 @@ jobs:
125126
- Read metadata template: `prompts/templates/metadata.yaml`
126127
- Create directory: `plots/{spec-id}/`
127128
- Create: `plots/{spec-id}/spec.md` (follow template structure)
128-
- Create: `plots/{spec-id}/metadata.yaml` (replace placeholders)
129+
- Create: `plots/{spec-id}/metadata.yaml` with:
130+
- `created`: Use `$(date -u +"%Y-%m-%dT%H:%M:%SZ")` for current timestamp
131+
- `issue`: ${{ github.event.issue.number }}
132+
- `suggested`: ${{ github.event.issue.user.login }}
129133
- Create empty folder: `plots/{spec-id}/implementations/`
130134
131135
6. **Commit and push:**

0 commit comments

Comments
 (0)