From 05f2c6f39c3d41a27ef3ac7a64110747a6e01c24 Mon Sep 17 00:00:00 2001 From: Stefanni Brasil Date: Thu, 14 Mar 2024 15:02:19 -0600 Subject: [PATCH] Call dynamic-readme reusable workflow (#1617) * 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. * Add github action workflow --- .github/workflows/dynamic-readme.yml | 17 +++++++++++++++++ README.md | 15 ++------------- 2 files changed, 19 insertions(+), 13 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..41bb5db04 --- /dev/null +++ b/.github/workflows/dynamic-readme.yml @@ -0,0 +1,17 @@ +name: update-templates + +on: + push: + branches: + - main + 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 786b7fed5..6c7cc13a6 100644 --- a/README.md +++ b/README.md @@ -515,16 +515,5 @@ redistributed under the terms specified in the [LICENSE](LICENSE) file. [thoughtbot-website]: https://thoughtbot.com -## About thoughtbot - -![thoughtbot][thoughtbot-logo] - -[thoughtbot-logo]: https://thoughtbot.com/brand_assets/93:44.svg - -The names and logos for thoughtbot are trademarks of thoughtbot, inc. - -We are passionate about open source software. See [our other -projects][community]. We are [available for hire][hire]. - -[community]: https://thoughtbot.com/community?utm_source=github -[hire]: https://thoughtbot.com?utm_source=github + +