Skip to content

Merge pull request #1 from tobbe-joh/submodule-workflow #1

Merge pull request #1 from tobbe-joh/submodule-workflow

Merge pull request #1 from tobbe-joh/submodule-workflow #1

---
name: Submodule Updates
#############################
# Start the job on all push #
#############################
on:
push:
branches:
- main
- master
###############
# Set the Job #
###############
jobs:
build:
name: Submodule update
runs-on: ubuntu-latest
env:
PARENT_REPOSITORY: 'tobbe-joh/noq_app_fork'
CHECKOUT_BRANCH: 'main'
PR_AGAINST_BRANCH: 'main'
OWNER: 'tobbe-joh'
steps:
##########################
# Checkout the code base #
##########################
- name: Checkout Code
uses: actions/checkout@v4
####################################
# 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 }}