Skip to content

Commit 6da343e

Browse files
authored
Create submodule-update.yml
1 parent 56dc5c5 commit 6da343e

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed
+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Submodule Updates
2+
3+
#############################
4+
# Start the job on all push #
5+
#############################
6+
on:
7+
push:
8+
branches-ignore: [develop]
9+
pull_request:
10+
branches: [develop]
11+
12+
###############
13+
# Set the Job #
14+
###############
15+
jobs:
16+
build:
17+
name: Submodule update
18+
runs-on: ubuntu-latest
19+
env:
20+
PARENT_REPOSITORY: 'AllenInstitute/ac_deploy'
21+
CHECKOUT_BRANCH: 'develop_integrate'
22+
PR_AGAINST_BRANCH: 'develop_integrate'
23+
OWNER: 'AllenInstitute'
24+
25+
steps:
26+
##########################
27+
# Checkout the code base #
28+
##########################
29+
- name: Checkout Code
30+
uses: actions/checkout@v2
31+
32+
####################################
33+
# Run the action against code base #
34+
####################################
35+
- name: run action
36+
id: run_action
37+
uses: releasehub-com/github-action-create-pr-parent-submodule@v1
38+
with:
39+
github_token: ${{ secrets.RELEASE_HUB_SECRET }}
40+
parent_repository: ${{ env.PARENT_REPOSITORY }}
41+
checkout_branch: ${{ env.CHECKOUT_BRANCH}}
42+
pr_against_branch: ${{ env.PR_AGAINST_BRANCH }}
43+
owner: ${{ env.OWNER }}

0 commit comments

Comments
 (0)