Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rework gen-readme #511

Conversation

eps1lon
Copy link
Member

@eps1lon eps1lon commented Jun 4, 2022

While working on #494 I noticed that testing gen-readme has quite the roundtrip time since you need to push and merge to see effects.

Instead, the script now simply updates the contents of README.md locally and CI ensures these changes are committed.

Example failure: https://github.com/typescript-cheatsheets/react/runs/6738164939?check_suite_focus=true

This way we can easily test changes locally and changes to README are now always associated with the underlying change to docs/.
The flipside is that this step now has to be done manually. Automatically committing these changes in a PR is annoying since this would mean you collaborate with a bot on a branch which has its own sets of problems (branch out-of-date, push conflicts, surprise changes etc).

@eps1lon eps1lon force-pushed the fix/494-remove-duplicated-section- branch 3 times, most recently from c5b8889 to e382132 Compare Jun 4, 2022
@eps1lon eps1lon marked this pull request as ready for review Jun 4, 2022
@eps1lon eps1lon requested review from raulfdm and isarvindone Jun 4, 2022
@eps1lon eps1lon force-pushed the fix/494-remove-duplicated-section- branch from 87a758f to 4d5a46f Compare Jun 4, 2022
Copy link
Collaborator

@filiptammergard filiptammergard left a comment

I agree this makes it smoother! 👍

@eps1lon eps1lon merged commit 5bd3043 into typescript-cheatsheets:main Jun 6, 2022
6 checks passed
@eps1lon eps1lon deleted the fix/494-remove-duplicated-section- branch Jun 6, 2022
@sw-yx
Copy link
Collaborator

sw-yx commented Jun 9, 2022

btw you two are pretty much the most active maintainers right now - feel free to take the inactive names off the readme for those getting credit and get filip on

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.

None yet

3 participants