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
stefannibrasil committed Mar 14, 2024
1 parent 6b350d1 commit cee2142
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 10 deletions.
17 changes: 17 additions & 0 deletions .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 }}
12 changes: 2 additions & 10 deletions README.md
Expand Up @@ -165,16 +165,8 @@ factory_bot_rails is Copyright © 2008-2020 Joe Ferris and thoughtbot. It is fre
software, and may be redistributed under the terms specified in the
[LICENSE](LICENSE) file.

## About thoughtbot

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

factory_bot_rails 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].
<!-- START /templates/footer.md -->
<!-- END /templates/footer.md -->

[fb]: https://github.com/thoughtbot/factory_bot
[grade]: https://codeclimate.com/github/thoughtbot/factory_bot_rails
Expand Down

0 comments on commit cee2142

Please sign in to comment.