martinthomson / i-d-template

A template for IETF internet draft git repositories
Other
208 stars 182 forks source link

Target and workflow to support updating the README #300

Closed martinthomson closed 2 years ago

martinthomson commented 3 years ago

In #191 we discussed a way to regenerate the README.

Now that the template exists, it would be good to have a workflow that regenerates the README. This will blow away any customizations, but this can just be noted in any help text.

martinthomson commented 3 years ago

Note that I would love to do this for workflows also, as those can need updating also. The only problem there is that it requires a token with more privileges than the default token. Given how involved it is to set that up, it's easier to rely on command-line tools for that part. Over time, more can be moved out of the workflow files into actions to reduce the need to update the workflow files.

martinthomson commented 2 years ago

https://github.com/martinthomson/internet-draft-template/blob/main/.github/workflows/update.yml does this.