From 31cae7b9893498ef6c59d28cb0a518e8b474135c Mon Sep 17 00:00:00 2001 From: Stefanni Brasil Date: Thu, 14 Mar 2024 17:06:38 -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. --- .github/workflows/dynamic-readme.yml | 17 +++++++++++++++++ README.md | 12 ++++-------- 2 files changed, 21 insertions(+), 8 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 0000000..41bb5db --- /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 445fef6..4f75416 100644 --- a/README.md +++ b/README.md @@ -207,16 +207,12 @@ Question? Idea? Problem? Bug? Comment? Concern? Like using question marks? Thank you to all [the contributors](https://github.com/thoughtbot/terrapin/graphs/contributors)! -![thoughtbot](http://thoughtbot.com/logo.png) - -Terrapin is maintained and funded by [thoughtbot, -inc](http://thoughtbot.com/community) - -The names and logos for thoughtbot are trademarks of thoughtbot, inc. - ## License -Copyright 2011-2018 Jon Yurek and thoughtbot, inc. This is free software, and +Copyright © 2011 Jon Yurek and thoughtbot, inc. This is free software, and may be redistributed under the terms specified in the [LICENSE](https://github.com/thoughtbot/terrapin/blob/master/LICENSE) file. + + +