slight improvements
This commit is contained in:
		
							
								
								
									
										22
									
								
								.github/workflows/auto-pr.yaml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								.github/workflows/auto-pr.yaml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,22 @@
 | 
			
		||||
name: Staging Auto-PR
 | 
			
		||||
on:
 | 
			
		||||
  create:
 | 
			
		||||
    branches: ['ci-update']
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  pull-request:
 | 
			
		||||
    name: Open PR to main
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    steps:
 | 
			
		||||
    - uses: actions/checkout@v3
 | 
			
		||||
      name: checkout
 | 
			
		||||
 | 
			
		||||
    - uses: repo-sync/pull-request@v2
 | 
			
		||||
      name: pull-request
 | 
			
		||||
      with:
 | 
			
		||||
        destination_branch: "main"
 | 
			
		||||
        pr_title: "Pulling ${{ github.ref }} into main"
 | 
			
		||||
        pr_body: "👑 *An automated PR*"
 | 
			
		||||
        pr_reviewer: "kingdonb"
 | 
			
		||||
        pr_draft: true
 | 
			
		||||
        github_token: ${{ secrets.GITHUB_TOKEN }}
 | 
			
		||||
@@ -6,15 +6,8 @@ metadata:
 | 
			
		||||
spec:
 | 
			
		||||
  force: true
 | 
			
		||||
  interval: 1m0s
 | 
			
		||||
  path: .apps/whoami/overlays/main
 | 
			
		||||
  path: ./apps/whoami/overlays/main
 | 
			
		||||
  prune: false
 | 
			
		||||
  sourceRef:
 | 
			
		||||
    kind: GitRepository
 | 
			
		||||
    name: flux-system
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# apiVersion: kustomize.toolkit.fluxcd.io/v1
 | 
			
		||||
# kind: HelmRelease
 | 
			
		||||
# ...
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user