Imagine if code hosting platforms attached the full comment history of code reviews to merge commits as a git note.

git-scm.com/docs/git-notes

Follow

I wonder if you could roll this yourself as a GitHub action.

the absolute *face* I just made when I saw that the two apparent options for creating a GitHub Action are "Javascript" or "Docker container"

Show thread

my action is doing a `find /` while i figure things out; trying to render this output kills github's UI for several seconds

Show thread

github actions rambling 

the github action text UI is _weird_. if you use browser search, it only finds results in the part of the text that's visible.

icky.

Show thread

you can! i just did it: github.com/OddBloke/store-pr-m

Extremely rough ATM, but on merge it will clone your repo, fetch metadata about the PR from GitHub (currently: the repr of the PyGithub PR object, but that's sufficient for the POC), store it as a note and push it back to your branch.

you can see this in action in github.com/OddBloke/test-repo; if you clone it then run `git fetch origin refs/notes/\*:refs/notes/\*`, you'll see the note in `git log`s output.

Show thread
Sign in to participate in the conversation

Hometown is adapted from Mastodon, a decentralized social network with no ads, no corporate surveillance, and ethical design.