Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions .github/workflows/gh-aw-docs-drift.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 2 additions & 5 deletions .github/workflows/gh-aw-docs-drift.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,9 @@ Detect documentation drift — code changes that require corresponding documenta

### Data Gathering

Determine the lookback window based on the current day of the week:
- **Monday**: Use `--since="3 days ago"` to capture Friday, Saturday, and Sunday
- **Tuesday through Friday**: Use `--since="1 day ago"` to capture the previous day
- **Manual trigger** (`workflow_dispatch`): Use `--since="1 day ago"`
Use a lookback window of `--since="7 days ago"` for all runs (scheduled and manual).

Run `git log --since="<window>" --oneline --stat` to get a summary of recent commits. If there are no commits in the lookback window, report no findings and stop.
Run `git log --since="7 days ago" --oneline --stat` to get a summary of recent commits. If there are no commits in the lookback window, report no findings and stop.

### What to Look For

Expand Down
Loading