Skip to content

Commit

Permalink
Call dynamic-readme reusable workflow
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Stefanni Brasil authored Mar 14, 2024
1 parent 6460fa8 commit 6ad370f
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 6 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/dynamic-readme.yml
Original file line number Diff line number Diff line change
@@ -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 }}
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,14 @@ Bundle:

## Credits

![thoughtbot](https://thoughtbot.com/brand_assets/93:44.svg)

Clearance I18n is maintained by [thoughtbot, inc](http://thoughtbot.com/community)
and [contributors] like you. Thank you!
Thank you, [contributors]!

[contributors]: https://github.com/thoughtbot/clearance-i18n/contributors

## License

Clearance I18n is copyright © 2013-2023 thoughtbot. It is free software, and may be
Clearance I18n is copyright © 2013-2024 thoughtbot. It is free software, and may be
redistributed under the terms specified in the `LICENSE` file.

The names and logos for thoughtbot are trademarks of thoughtbot, inc.
<!-- START /templates/footer.md -->
<!-- END /templates/footer.md -->

0 comments on commit 6ad370f

Please sign in to comment.