mirror of
https://github.com/qnblackcat/CercubePlus
synced 2026-11-26 19:17:53 +08:00
45 lines
1.1 KiB
YAML
45 lines
1.1 KiB
YAML
---
|
|
name: Submodule Updates!
|
|
|
|
#############################
|
|
# Start the job on all push #
|
|
#############################
|
|
on:
|
|
push:
|
|
branches-ignore: [iOS-12, main]
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
###############
|
|
# Set the Job #
|
|
###############
|
|
jobs:
|
|
build:
|
|
name: Submodule update
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
PARENT_REPOSITORY: 'qnblackcat/CercubePlus'
|
|
CHECKOUT_BRANCH: 'main'
|
|
PR_AGAINST_BRANCH: 'main'
|
|
OWNER: 'qnblackcat'
|
|
|
|
steps:
|
|
##########################
|
|
# Checkout the code base #
|
|
##########################
|
|
- name: Checkout Code
|
|
uses: actions/checkout@v3
|
|
|
|
####################################
|
|
# 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 }}
|