Skip to content

Commit 391c47c

Browse files
author
Stefanni Brasil
committed
Only run this workflow if the README has been updated
1 parent 0e07cb9 commit 391c47c

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/dynamic-readme.yml

+3-1
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

+1
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)