Skip to content

Commit

Permalink
Only run this workflow if the README has been updated
Browse files Browse the repository at this point in the history
  • Loading branch information
stefannibrasil committed Apr 12, 2024
1 parent 0e07cb9 commit 391c47c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/dynamic-readme.yml
@@ -1,9 +1,11 @@
name: update-templates

on:
on:
push:
branches:
- main
paths:
- README.md
workflow_dispatch:

jobs:
Expand Down
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -82,6 +82,7 @@ software, and may be redistributed under the terms specified in the
[LICENSE]: https://github.com/thoughtbot/factory_bot/blob/main/LICENSE

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

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

[ci-image]: https://github.com/thoughtbot/factory_bot/actions/workflows/build.yml/badge.svg?branch=main
Expand Down

0 comments on commit 391c47c

Please sign in to comment.