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

Call dynamic-readme reusable workflow #2550

Merged
merged 1 commit into from May 3, 2024
Merged

Conversation

stefannibrasil
Copy link
Contributor

@stefannibrasil stefannibrasil commented Mar 14, 2024

We want to have a way to edit our README footer at one place and have the changes from there be propagated to our repos.

By adding this snippet in the README, we call this reusable workflow: https://github.com/thoughtbot/templates/blob/main/.github/workflows/dynamic-readme.yaml that renders the README footer dynamically.

This workflow has been updated to accommodate repositories that have main branch rules. To generate the README dynamically, you’ll need to merge a PR with the README changes. That will trigger the GitHub workflow.
The PR won’t be generated if the footer does not have any differences. It will only be open if there’s an update to the footer snippet.

@stefannibrasil
Copy link
Contributor Author

Opened a PR to fix the CVE here: #2551

@nickcharlton
Copy link
Member

I fixed the CVE in #2540 (sorry, I didn't see your PR until too late!).

This looks fine to me, other than a comment which applies here too that I made on stylelint_config: thoughtbot/stylelint-config#57 (comment)

@stefannibrasil
Copy link
Contributor Author

branch rebased and comment addressed 👍

We want to have a way to edit our README footer at one place and have
the changes from there be propagated to our repos.

By adding this snippet in the README, we call this reusable workflow:
https://github.com/thoughtbot/templates/blob/main/.github/workflows/dynamic-readme.yaml
that renders the README footer dynamically.
@nickcharlton
Copy link
Member

Thanks for keeping this going! The test failures are #2523, so I'm ignoring them for now.

@nickcharlton nickcharlton merged commit a605a32 into main May 3, 2024
7 of 10 checks passed
@nickcharlton nickcharlton deleted the sb-dynamic-readme-workflow branch May 3, 2024 10:50
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

2 participants