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
2 changes: 0 additions & 2 deletions .github/workflows/auto-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ name: auto-format
# format commit.

on:
push:
branches: [main]
schedule:
Comment on lines 19 to 20

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Include merge diffs in the nightly formatting sweep

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 --since selects “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 👍 / 👎.

# Nightly sweep over the last day's changed files.
- cron: "47 6 * * *"
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/mod-tidy.yml
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

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Enable persisting tidy fixes on manual dispatch

With workflow_dispatch now the only trigger, running this workflow against an untidy graph module executes go mod tidy but skips both the verification step (github.event_name == 'pull_request') and the commit step (github.event_name == 'push'). The run therefore succeeds while all fixes are discarded with the runner, leaving no working maintenance path. Update the commit step to handle manual dispatch, with an appropriate branch restriction, while keeping the intended removal of push-triggered runs.

Useful? React with 👍 / 👎.

concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'push' && github.run_id || github.ref }}
Expand Down
Loading