Skip to content

Commit eeaf495

Browse files
authored
Add auto-PR to update the submodule in NDP
1 parent 0f02c4c commit eeaf495

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/main.workflow

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
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-php-code-snippets"
13+
PR_BRANCH_NAME = "automated-php-snippets-update"
14+
PR_TITLE = "nexmo-php-code-snippets Update"
15+
PR_TARGET_BRANCH = "master"
16+
PR_ACTIVE_BRANCH = "master"
17+
}
18+
}

0 commit comments

Comments
 (0)