Skip to content
This repository was archived by the owner on Sep 13, 2024. It is now read-only.

Commit d5d6026

Browse files
author
Stefanni Brasil
authored
Call dynamic-readme reusable workflow (#1126)
* 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. * Remove final copyright year Reference: thoughtbot/templates#23
1 parent 71d4776 commit d5d6026

File tree

2 files changed

+21
-15
lines changed

2 files changed

+21
-15
lines changed

Diff for: .github/workflows/dynamic-readme.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: update-templates
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
workflow_dispatch:
8+
9+
jobs:
10+
update-templates:
11+
permissions:
12+
contents: write
13+
pull-requests: write
14+
pages: write
15+
uses: thoughtbot/templates/.github/workflows/dynamic-readme.yaml@main
16+
secrets:
17+
token: ${{ secrets.GITHUB_TOKEN }}

Diff for: README.md

+4-15
Original file line numberDiff line numberDiff line change
@@ -185,23 +185,12 @@ See the [contributing] document. Thank you, [contributors]!
185185

186186
## License
187187

188-
Bourbon is copyright © 2011-2020 [thoughtbot, inc.][thoughtbot] It is free
188+
Bourbon is copyright © 2011 [thoughtbot, inc.][thoughtbot] It is free
189189
software, and may be redistributed under the terms specified in the [license].
190190

191191
[license]: LICENSE.md
192192

193-
## About
193+
<!-- START /templates/footer.md -->
194+
<!-- END /templates/footer.md -->
194195

195-
Bourbon is maintained by the thoughtbot design team. It is funded
196-
by [thoughtbot, inc.][thoughtbot] and the names and logos for thoughtbot are
197-
trademarks of thoughtbot, inc.
198-
199-
[![thoughtbot][thoughtbot-logo]][thoughtbot]
200-
201-
We love open-source software! See [our other projects][community] or
202-
[hire us][hire] to design, develop, and grow your product.
203-
204-
[thoughtbot]: https://thoughtbot.com?utm_source=github
205-
[thoughtbot-logo]: https://thoughtbot.com/brand_assets/93:44.svg
206-
[community]: https://thoughtbot.com/community?utm_source=github
207-
[hire]: https://thoughtbot.com/hire-us?utm_source=github
196+
[thoughtbot]: https://thoughtbot.com?utm_source=github

0 commit comments

Comments
 (0)