From ddbdad1062092118f8cd08cd108c378049766eb3 Mon Sep 17 00:00:00 2001 From: Stefanni Brasil Date: Fri, 17 May 2024 17:04:56 -0600 Subject: [PATCH] Call dynamic-readme reusable workflow 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 and updates the README footer dynamically. More details about this approach can be found here: https://thoughtbot.com/blog/automate-processes-with-reusable-github-workflows --- .github/workflows/dynamic-readme.yml | 19 +++++++++++++++++++ README.md | 16 ++-------------- 2 files changed, 21 insertions(+), 14 deletions(-) create mode 100644 .github/workflows/dynamic-readme.yml diff --git a/.github/workflows/dynamic-readme.yml b/.github/workflows/dynamic-readme.yml new file mode 100644 index 000000000..78fd58624 --- /dev/null +++ b/.github/workflows/dynamic-readme.yml @@ -0,0 +1,19 @@ +name: update-templates + +on: + push: + branches: + - main + paths: + - README.md + workflow_dispatch: + +jobs: + update-templates: + permissions: + contents: write + pull-requests: write + pages: write + uses: thoughtbot/templates/.github/workflows/dynamic-readme.yaml@main + secrets: + token: ${{ secrets.GITHUB_TOKEN }} diff --git a/README.md b/README.md index 46515c396..b78a2659c 100644 --- a/README.md +++ b/README.md @@ -115,18 +115,6 @@ under the terms specified in the [LICENSE] file. [LICENSE]: /LICENSE -## About + -Suspenders is maintained by [thoughtbot]. - -![thoughtbot](https://thoughtbot.com/brand_assets/93:44.svg) - -Suspenders is maintained and funded by thoughtbot, inc. -The names and logos for thoughtbot are trademarks of thoughtbot, inc. - -We love open source software! -See [our other projects][community] -or [hire us][hire] to help build your product. - -[community]: https://thoughtbot.com/community?utm_source=github -[hire]: https://thoughtbot.com/hire-us?utm_source=github +