Skip to content

Commit 867fdb1

Browse files
authored
docs(README): add example passing in multiple submodules (#14)
1 parent ae5babe commit 867fdb1

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

README.md

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ the path is `ports/vscode-icons`, the dynamic outputs will be:
115115
id: submodules
116116
uses: sgoudham/[email protected]
117117
with:
118-
strategy: "tag"
118+
strategy: tag
119119
```
120120

121121
### Update single submodule
@@ -128,11 +128,20 @@ the path is `ports/vscode-icons`, the dynamic outputs will be:
128128
submodules: ports/vscode-icons
129129
```
130130

131-
## Creating Pull Requests
131+
### Update multiple submodules
132132

133-
1. [Update single submodule and create pull request](#update-single-submodule-and-create-pull-request)
134-
2. [Update multiple submodules and create one pull request](#update-multiple-submodules-and-create-one-pull-request)
135-
3. [Update multiple submodules and create multiple pull requests](#update-multiple-submodules-and-create-multiple-pull-requests)
133+
```yaml
134+
- name: Update Submodules
135+
id: submodules
136+
uses: sgoudham/[email protected]
137+
with:
138+
submodules: |
139+
ports/nvim
140+
ports/mdBook
141+
ports/vscode-icons
142+
```
143+
144+
## Creating Pull Requests
136145

137146
### Update single submodule and create pull request
138147

0 commit comments

Comments
 (0)