Create submodule-update.yml #9
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Submodule Updates | |
############################# | |
# Start the job on all push # | |
############################# | |
on: | |
push: | |
branches-ignore: [develop] | |
pull_request: | |
branches: [develop] | |
############### | |
# Set the Job # | |
############### | |
jobs: | |
build: | |
name: Submodule update | |
runs-on: ubuntu-latest | |
env: | |
PARENT_REPOSITORY: 'AllenInstitute/ac_deploy' | |
CHECKOUT_BRANCH: 'develop_integrate' | |
PR_AGAINST_BRANCH: 'develop_integrate' | |
OWNER: 'AllenInstitute' | |
steps: | |
########################## | |
# Checkout the code base # | |
########################## | |
- name: Checkout Code | |
uses: actions/checkout@v2 | |
#################################### | |
# Run the action against code base # | |
#################################### | |
- name: run action | |
id: run_action | |
uses: releasehub-com/github-action-create-pr-parent-submodule@v1 | |
with: | |
github_token: ${{ secrets.RELEASE_HUB_SECRET }} | |
parent_repository: ${{ env.PARENT_REPOSITORY }} | |
checkout_branch: ${{ env.CHECKOUT_BRANCH}} | |
pr_against_branch: ${{ env.PR_AGAINST_BRANCH }} | |
owner: ${{ env.OWNER }} |