mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-03-11 21:26:04 +00:00
Create update-submodules.yml
This commit is contained in:
parent
66ef2cb61d
commit
e2fc640ac9
1 changed files with 43 additions and 0 deletions
43
.github/workflows/update-submodules.yml
vendored
Normal file
43
.github/workflows/update-submodules.yml
vendored
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
---
|
||||
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: 'ewweewwe/uYouPlus'
|
||||
CHECKOUT_BRANCH: 'main'
|
||||
PR_AGAINST_BRANCH: 'main'
|
||||
OWNER: 'ewweewwe'
|
||||
|
||||
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.UPDATE_SUBMODULES }}
|
||||
parent_repository: ${{ env.PARENT_REPOSITORY }}
|
||||
checkout_branch: ${{ env.CHECKOUT_BRANCH }}
|
||||
pr_against_branch: ${{ env.PR_AGAINST_BRANCH }}
|
||||
owner: ${{ env.OWNER }}
|
||||
Loading…
Reference in a new issue