mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-13 07:47: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:
parent
9f0faad041
commit
2bf199f129
40
.github/workflows/submodule-update.yml
vendored
Normal file
40
.github/workflows/submodule-update.yml
vendored
Normal 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
|
Loading…
x
Reference in New Issue
Block a user