Skip to content

Commit

Permalink
Call dynamic-readme reusable workflow (#2449)
Browse files Browse the repository at this point in the history
* 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.

* Rename .github/workflows/.github/workflows/dynamic-readme.yml to .github/workflows/dynamic-readme.yml
  • Loading branch information
Stefanni Brasil authored Mar 19, 2024
1 parent f9d84a4 commit 17a8185
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 11 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 }}
18 changes: 7 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,17 +185,6 @@ and trello boards, and others.
The `rake dev:prime` task will create user accounts that you can test with in
development mode.

# Credits

![thoughtbot](http://thoughtbot.com/logo.png)

This application is maintained and funded by [thoughtbot, inc](http://thoughtbot.com/community)

Thank you to all [the contributors](https://github.com/thoughtbot/upcase/contributors)!

The names and logos for Upcase and thoughtbot are registered trademarks of
thoughtbot, inc.

# License

This application is Copyright © 2007 thoughtbot, inc.
Expand All @@ -214,3 +203,10 @@ not limited to:
* to reproduce the Contribution in original or modified form,
* to distribute, to make the Contribution available to the public, display and
publicly perform the Contribution in original or modified form.

# Credits

Thank you to all [the contributors](https://github.com/thoughtbot/upcase/contributors)!

<!-- START /templates/footer.md -->
<!-- END /templates/footer.md -->

0 comments on commit 17a8185

Please sign in to comment.