Skip to content

ci: attribute star history commits to the bot - #734

Merged
av1155 merged 1 commit into
mainfrom
ci/star-history-reset-author
Aug 11, 2026
Merged

ci: attribute star history commits to the bot#734
av1155 merged 1 commit into
mainfrom
ci/star-history-reset-author

Conversation

@av1155

@av1155 av1155 commented Aug 11, 2026

Copy link
Copy Markdown
Owner

Summary

Published chart commits are attributed to the wrong person. The current tip of
assets, written by the workflow earlier today:

author:    Andrea Arturo Venti Fuentes   2026-08-06T18:06:30Z
committer: github-actions[bot]           2026-08-11T16:36:54Z

git commit --amend preserves the original author and author date, so the bot
identity configured just above it only ever reaches the committer field. Since
the branch is amended in place forever, the author date is pinned to the
seeding and never moves again.

Closes #733

Changes

  • --reset-author on the amend, so the bot is recorded as both author and
    committer with the current timestamp.

Testing

Simulated against a real shallow clone of assets, since the publish path only
runs when the chart actually changes and the live count currently matches what
is published:

without --reset-author:
  author:    Andrea Arturo Venti Fuentes   2026-08-06T14:06:30-04:00
  committer: github-actions[bot]           2026-08-11T13:49:44-04:00

with --reset-author:
  author:    github-actions[bot]           2026-08-11T13:49:44-04:00
  committer: github-actions[bot]           2026-08-11T13:49:44-04:00

The amended commit stays parentless (parents=[]), so the orphan branch keeps
the property the --force-with-lease push relies on.

actionlint clean. This will not be visible until the next refresh that
actually changes the chart, which means the next star.

Type of Change

  • Bug fix (fix:)
  • New feature (feat:)
  • Refactoring (refactor:)
  • Documentation (docs:)
  • CI/CD (ci:)
  • Chore (chore:)

Checklist

  • Issue exists and is linked above with Closes #N
  • Linked issue has exactly one type:* and one priority:* label
  • Linked issue has at most one phase:* label (or none when not roadmap work)
  • Branch name matches issue scope (feat/<slug>, fix/<slug>, etc.)
  • Tests added/updated for all changes — N/A, one git flag; verified as above
  • Type check passes (mypy src/) — N/A, no Python changed
  • Lint passes (ruff check .) — N/A, no Python changed
  • Format passes (ruff format --check .) — N/A, no Python changed
  • Documentation updated (if applicable) — N/A
  • No secrets or sensitive data committed
  • Scope check: This change helps search for missing or cutoff-unmet media in a controlled way — N/A, repo tooling

A plain amend keeps the seed commit's author and author date, so
every published refresh read as authored by whoever seeded the
branch, on the day they seeded it, however long ago that was.

Closes #733
@av1155
av1155 merged commit 9f70b5e into main Aug 11, 2026
22 checks passed
@av1155
av1155 deleted the ci/star-history-reset-author branch August 11, 2026 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ci: star history commits are attributed to the wrong author

1 participant