Skip to content

Commit 798db89

Browse files
authored
Only run this workflow if the README has been updated (#1635)
1 parent 0e07cb9 commit 798db89

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/dynamic-readme.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
name: update-templates
22

3-
on:
3+
on:
44
push:
55
branches:
66
- main
7+
paths:
8+
- README.md
79
workflow_dispatch:
810

911
jobs:

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ software, and may be redistributed under the terms specified in the
8282
[LICENSE]: https://github.com/thoughtbot/factory_bot/blob/main/LICENSE
8383

8484
<!-- START /templates/footer.md -->
85+
8586
<!-- END /templates/footer.md -->
8687

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

0 commit comments

Comments
 (0)