Repository navigation
fix(ci): restore daily dispatch workflows (startup failure) + push-trigger audit #4595
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,6 @@ | ||
| name: Go Mod Tidy | ||
|
|
||
| on: | ||
| push: | ||
| branches: [main] | ||
| paths: | ||
| - "pkgs/graph/**" | ||
| - ".github/workflows/mod-tidy.yml" | ||
| workflow_dispatch: | ||
|
Comment on lines
3
to
4
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
With Useful? React with 👍 / 👎. |
||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.event_name == 'push' && github.run_id || github.ref }} | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For a file changed only by PR commits that are over 25 hours old when the first nightly sweep runs, removing push processing means the file never reaches automatic formatting: the scheduled command at lines 54–60 filters out the original commits, and the recent merge commit contributes no filenames. The Git documentation confirms that
--sinceselects “Show commits more recent than ” and, without merge-diff options, “merge commits will not show a diff.” Update the scheduled scan to include first-parent merge diffs or use a last-successful baseline so older PR changes are still formatted after merging.AGENTS.md reference: AGENTS.md:L58-L58
Useful? React with 👍 / 👎.