DEV Community

Discussion on: Share your GitHub Actions Hackathon Updates!

Collapse
 
itsasine profile image
ItsASine (Kayla)

I had an idea but I'm abandoning it because 1. it existed only to do something that annoys me when I need to do it and 2. the set up involved even when using the action would annoy me, so it just shifts the annoyance.

The idea was to wrap checklist items in markdown in links. The link would open an issue, the action would parse the issue, find the link in the codebase, and check (or uncheck) the list item that spawned the issue, then push the updated checkbox code and close the issue as fixed.

The key was that I wanted checkboxes to work nicely like they do in things like pull requests and project cards but setting up that link would either be too specific that it would need to be juuuuuust right or too vague that the action might not determine the right checkbox as the one to toggle. Like, I can have the issue template include the file to edit and the line, even, but then I'd need to maintain that for every checkbox in the repo's markdown. It'd be better just to quit complaining and go edit the checkbox myself when I need to.