Skip to content

Commit 77a87ef

Browse files
committed
Add submodule PR automation
1 parent d44e142 commit 77a87ef

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/push.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Push to Master
2+
on:
3+
push:
4+
branches:
5+
- master
6+
jobs:
7+
build:
8+
name: Update NDP Submodule
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Update NDP Submodule
12+
uses: nexmo/github-actions/submodule-auto-pr@master
13+
env:
14+
GH_ADMIN_TOKEN: ${{ secrets.GH_ADMIN_TOKEN }}
15+
PR_ACTIVE_BRANCH: master
16+
PR_BRANCH_NAME: automated-curl-snippets-update
17+
PR_SUBMODULE_PATH: .repos/nexmo/nexmo-curl-code-snippets
18+
PR_TARGET_BRANCH: master
19+
PR_TARGET_ORG: nexmo
20+
PR_TARGET_REPO: nexmo-developer
21+
PR_TITLE: nexmo-curl-code-snippets Update
22+
PR_BODY: Please double check all of the line numbers in any affected snippets

0 commit comments

Comments
 (0)