Skip to content

Commit

Permalink
Merge pull request #1 from VCbots/luyanci-patch-1
Browse files Browse the repository at this point in the history
更新
  • Loading branch information
luyanci authored Sep 4, 2024
2 parents 1f3b36d + 5dc5366 commit 51fdb57
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/update-submodule.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Submodule Updates

#############################
# Start the job on all push #
#############################
on:
workflow_dispatch:
push:
branches-ignore: [master, main]
pull_request:
branches: [master, main]

###############
# Set the Job #
###############
jobs:
build:
name: Submodule update
runs-on: ubuntu-latest
env:
PARENT_REPOSITORY: 'vcbots/vcbot-florabot'
CHECKOUT_BRANCH: 'main'
PR_AGAINST_BRANCH: 'main'
OWNER: 'vcbots'

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.RELEASE_HUB_SECRET }}
parent_repository: ${{ env.PARENT_REPOSITORY }}
checkout_branch: ${{ env.CHECKOUT_BRANCH}}
pr_against_branch: ${{ env.PR_AGAINST_BRANCH }}
owner: ${{ env.OWNER }}

0 comments on commit 51fdb57

Please sign in to comment.