Skip to content

Commit 54cd0f8

Browse files
authored
Add auto-PR to update the submodule in NDP
1 parent f3af7c2 commit 54cd0f8

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/main.workflow

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
workflow "Commit Push" {
2+
on = "push"
3+
resolves = ["nexmo/github-actions/submodule-auto-pr@master"]
4+
}
5+
6+
action "nexmo/github-actions/submodule-auto-pr@master" {
7+
uses = "nexmo/github-actions/submodule-auto-pr@master"
8+
secrets = ["GH_ADMIN_TOKEN"]
9+
env = {
10+
PR_TARGET_ORG = "nexmo"
11+
PR_TARGET_REPO = "nexmo-developer"
12+
PR_SUBMODULE_PATH = ".repos/nexmo/nexmo-python-code-snippets"
13+
PR_BRANCH_NAME = "automated-python-snippets-update"
14+
PR_TITLE = "nexmo-python-code-snippets Update"
15+
PR_TARGET_BRANCH = "master"
16+
PR_ACTIVE_BRANCH = "master"
17+
}
18+
}
19+

0 commit comments

Comments
 (0)