Create submodule-sync.yml (#2319)
Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
This commit is contained in:
		
							parent
							
								
									ef97f4115d
								
							
						
					
					
						commit
						c58e3791d1
					
				
					 1 changed files with 23 additions and 0 deletions
				
			
		
							
								
								
									
										23
									
								
								.github/workflows/submodule-sync.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								.github/workflows/submodule-sync.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							|  | @ -0,0 +1,23 @@ | |||
| name: Submodule Sync | ||||
| on: | ||||
|   schedule: | ||||
|     - cron: "15 */4 * * *" | ||||
|   workflow_dispatch: ~ | ||||
| 
 | ||||
| jobs: | ||||
|   submodule-sync: | ||||
|     name: Submodule Sync | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|       - name: Website Sync | ||||
|         uses: mheap/submodule-sync-action@v1 | ||||
|         with: &default_sync_options | ||||
|           token: ${{ secrets.GITHUB_TOKEN }} | ||||
|           path: apps/website | ||||
|           ref: main | ||||
|           pr_branch: automated-submodule-update | ||||
|           target_branch: main | ||||
|       - name: API Sync | ||||
|         uses: mheap/submodule-sync-action@v1 | ||||
|         with: *default_sync_options | ||||
|           path: apps/api | ||||
		Loading…
	
		Reference in a new issue
	
	 Omar López
						Omar López