Files
EDMarketConnector/.github/workflows/submodule-update.yml
T

41 lines
1.1 KiB
YAML

---
name: Submodule Updates
on:
# We might want this on a schedule once this is in `main`
push:
branches: [ develop ]
###############
# Set the Job #
###############
jobs:
check_submodules:
name: Pull Request for updated submodules
runs-on: ubuntu-latest
env:
PARENT_REPOSITORY: 'EDCD/EDMarketConnector'
CHECKOUT_BRANCH: 'develop'
PR_AGAINST_BRANCH: 'develop'
OWNER: 'EDCD'
steps:
##########################
# Checkout the code base #
##########################
- name: Checkout EDMC
uses: actions/checkout@v2
####################################
# Run the action against code base #
####################################
- name: Check EDMC submodules
id: run_action
uses: releasehub-com/github-action-create-pr-parent-submodule@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
parent_repository: ${{ env.PARENT_REPOSITORY }}
checkout_branch: ${{ env.CHECKOUT_BRANCH}}
pr_against_branch: ${{ env.PR_AGAINST_BRANCH }}
owner: ${{ env.OWNER }}