add additional wrappers support #66
@@ -1,4 +1,4 @@
 | 
			
		||||
name: "autoreview"
 | 
			
		||||
name: "autoapprove"
 | 
			
		||||
 | 
			
		||||
on:
 | 
			
		||||
  pull_request_target:
 | 
			
		||||
@@ -9,13 +9,13 @@ permissions:
 | 
			
		||||
  contents: write
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  dependabot:
 | 
			
		||||
  autoapprove:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    if: |
 | 
			
		||||
      github.actor == 'vtolstov' ||
 | 
			
		||||
      github.actor == 'dependabot[bot]'
 | 
			
		||||
    steps:
 | 
			
		||||
      - name: approve
 | 
			
		||||
        uses: hmarr/auto-approve-action@v2
 | 
			
		||||
        if: github.actor == 'vtolstov' || github.actor == 'dependabot[bot]'
 | 
			
		||||
        id: approve
 | 
			
		||||
        run: gh pr review --approve "$PR_URL"
 | 
			
		||||
        env:
 | 
			
		||||
          PR_URL: ${{github.event.pull_request.html_url}}
 | 
			
		||||
							
								
								
									
										6
									
								
								.github/workflows/automerge.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/automerge.yml
									
									
									
									
										vendored
									
									
								
							@@ -9,10 +9,9 @@ permissions:
 | 
			
		||||
  contents: write
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  dependabot:
 | 
			
		||||
  automerge:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    if: |
 | 
			
		||||
      github.actor == 'dependabot[bot]'
 | 
			
		||||
    if: github.actor == 'dependabot[bot]'
 | 
			
		||||
    steps:
 | 
			
		||||
      - name: metadata
 | 
			
		||||
        id: metadata
 | 
			
		||||
@@ -20,6 +19,7 @@ jobs:
 | 
			
		||||
        with:
 | 
			
		||||
          github-token: "${{ secrets.TOKEN }}"
 | 
			
		||||
      - name: merge
 | 
			
		||||
        id: merge
 | 
			
		||||
        if: ${{contains(steps.metadata.outputs.dependency-names, 'go.unistack.org')}}
 | 
			
		||||
        run: gh pr merge --auto --merge "$PR_URL"
 | 
			
		||||
        env:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user