Skip to content

Commit 72eeb17

Browse files
Copilotjustinchuby
andauthored
Fix documentation date capture: use full git history in pages workflow
The pages workflow used the default shallow clone (fetch-depth: 1), which only fetches the latest commit. git log --follow therefore saw only one commit per file, making created == updated == today. Adding fetch-depth: 0 gives the full repository history so git timestamps correctly reports the oldest commit as created and the newest commit as last-updated. Signed-off-by: Copilot <copilot@github.com> Agent-Logs-Url: https://github.com/onnxruntime/mobius/sessions/5f272c31-b070-420b-9ee7-7da1f8930821 Co-authored-by: justinchuby <11205048+justinchuby@users.noreply.github.com>
1 parent 8395d8d commit 72eeb17

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/pages.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ jobs:
2323
runs-on: ubuntu-latest
2424
steps:
2525
- uses: actions/checkout@v6
26+
with:
27+
fetch-depth: 0
2628

2729
- name: Setup Python
2830
uses: actions/setup-python@v6

0 commit comments

Comments
 (0)