1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-12 23:37:14 +03:00

github: Add submodule-updates workflow

It's time to start tracking `master/head` of coriolis-data, and this should
trigger a PR making that so.
This commit is contained in:
Athanasius 2022-02-07 14:45:00 +00:00
parent 9f0faad041
commit 2bf199f129
No known key found for this signature in database
GPG Key ID: AE3E527847057C7D
2 changed files with 41 additions and 1 deletions

40
.github/workflows/submodule-update.yml vendored Normal file
View File

@ -0,0 +1,40 @@
---
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 FDevIDs submodule
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 }}

@ -1 +1 @@
Subproject commit e499f68469bb4c3d7cecbc91ab67bd4a0bc40993
Subproject commit 5ac8a2474e931bbf7cae351f7c987bc40af81012