diff --git a/.github/workflows/dynamic-readme.yml b/.github/workflows/dynamic-readme.yml index 41bb5db0..78fd5862 100644 --- a/.github/workflows/dynamic-readme.yml +++ b/.github/workflows/dynamic-readme.yml @@ -1,9 +1,11 @@ name: update-templates -on: +on: push: branches: - main + paths: + - README.md workflow_dispatch: jobs: diff --git a/README.md b/README.md index 6769bd21..33f30c56 100644 --- a/README.md +++ b/README.md @@ -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 + [ci-image]: https://github.com/thoughtbot/factory_bot/actions/workflows/build.yml/badge.svg?branch=main