Commit e866aa8
committed
Update created_at field to use current time in workflow
Related to #29
Update the `created_at` field in the workflow run state storage to use the current time of the workflow run.
* **workflow_runs.json**
- Update the `created_at` field to contain the current time of the workflow run in the format `YYYY-MM-DDTHH:MM:SSZ`.
* **.github/workflows/create-repo.yml**
- Replace `${{ github.event.created_at }}` with `$(date -u +"%Y-%m-%dT%H:%M:%SZ")` to set the `created_at` field using the current time of the workflow run.
---
For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/code2docs-ai/code2docs-ai-core/issues/29?shareId=XXXX-XXXX-XXXX-XXXX).1 parent 2e9d6fb commit e866aa8
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
0 commit comments