Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

Submodule Updates

Submodule Updates #1

---
name: Submodule Updates
#############################
# Start the job everyday #
#############################
on:
schedule:
- cron: "0 0 */7 * *"
workflow_dispatch:
###############
# Set the Job #
###############
jobs:
build:
name: Submodule update
runs-on: ubuntu-latest
env:
PARENT_REPOSITORY: 'ISnackable/YTCubePlus'
CHECKOUT_BRANCH: 'main'
PR_AGAINST_BRANCH: 'main'
OWNER: 'ISnackable'
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.GITHUB_TOKEN }}
parent_repository: ${{ env.PARENT_REPOSITORY }}
checkout_branch: ${{ env.CHECKOUT_BRANCH}}
pr_against_branch: ${{ env.PR_AGAINST_BRANCH }}
owner: ${{ env.OWNER }}