Update submodules! #37
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Update submodules! | |
############################# | |
# Start the job on all push # | |
############################# | |
on: | |
schedule: | |
- cron: "0 0 */7 * *" | |
workflow_dispatch: | |
############### | |
# Set the Job # | |
############### | |
jobs: | |
build: | |
name: Update submodules | |
runs-on: ubuntu-latest | |
env: | |
PARENT_REPOSITORY: 'cameren2k/uYouPlus' | |
CHECKOUT_BRANCH: 'main' | |
PR_AGAINST_BRANCH: 'main' | |
OWNER: 'cameren2k' | |
steps: | |
########################## | |
# Checkout the code base # | |
########################## | |
- name: Checkout Code | |
uses: actions/[email protected] | |
#################################### | |
# Run the action against code base # | |
#################################### | |
- name: run action | |
id: run_action | |
uses: qnblackcat/github-action-create-pr-parent-submodule@main | |
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 }} |