From bd3a5d6be201aa259df94960061507312a9e84fb Mon Sep 17 00:00:00 2001 From: Stefanni Brasil Date: Fri, 15 Mar 2024 15:48:12 -0600 Subject: [PATCH] Call dynamic-readme reusable workflow (#641) * 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. * Missing ending punctuation --- .github/workflows/dynamic-readme.yml | 17 +++++++++++++++++ README.md | 18 +++--------------- 2 files changed, 20 insertions(+), 15 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 6f38a48bf..5d850cf8a 100644 --- a/README.md +++ b/README.md @@ -223,23 +223,11 @@ the script each time on a fresh install thats ready to go. License ------- -Laptop is © 2011-2023 thoughtbot, inc. +Copyright © 2011 thoughtbot, inc. It is free software, and may be redistributed under the terms specified in the [LICENSE] file. [LICENSE]: LICENSE -About thoughtbot ----------------- - -![thoughtbot](https://thoughtbot.com/brand_assets/93:44.svg) - -Laptop is maintained and funded by thoughtbot, inc. -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 + +