(Go: >> BACK << -|- >> HOME <<)

Skip to content

GitHub action for updating references to submodules in parent repo

License

Notifications You must be signed in to change notification settings

meblabs/update-submodules-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

update-submodules-action

GitHub action for updating references to submodules in parent repo

How to use

Workflow

on:
  push:
    branches:    
      - dev
      - staging
      - release

jobs:
  update-parent:
    runs-on: ubuntu-latest
    steps:
      - name: Update parent
        uses: meblabs/update-submodules-action@v2.0
        with:
          parent: Blackfin-Eyewear/HyperFarm
          token: ${{ secrets.MEBBOT }}
          commit_message: "chore: Update Api [skip ci]"

If there are multiple parents to update you can use the matrix strategy to run multiple jobs