File tree Expand file tree Collapse file tree 1 file changed +1
-27
lines changed
Expand file tree Collapse file tree 1 file changed +1
-27
lines changed Original file line number Diff line number Diff line change @@ -10,30 +10,4 @@ permissions:
1010
1111jobs :
1212 auto-merge :
13- runs-on : ubuntu-latest
14- if : ${{ (github.actor == 'dependabot[bot]' || github.actor == 'HavenDV') && github.repository_owner == 'tryAGI' }}
15- steps :
16- - name : Dependabot metadata
17- if : ${{ github.actor == 'dependabot[bot]' }}
18- id : metadata
19- uses : dependabot/fetch-metadata@21025c705c08248db411dc16f3619e6b5f9ea21a
20- with :
21- github-token : " ${{ secrets.GITHUB_TOKEN }}"
22-
23- - name : Show sender
24- run : echo ${{ github.event.pull_request.sender }}
25-
26- - name : Show triggering_actor
27- run : echo ${{ github.triggering_actor }}
28-
29- - name : Approve a PR
30- run : gh pr review --approve "$PR_URL"
31- env :
32- PR_URL : ${{ github.event.pull_request.html_url }}
33- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
34-
35- - name : Enable auto-merge
36- run : gh pr merge --auto --squash "$PR_URL"
37- env :
38- PR_URL : ${{ github.event.pull_request.html_url }}
39- GH_TOKEN : ${{ secrets.PERSONAL_TOKEN }}
13+ uses : tryAGI/workflows/.github/workflows/auto-merge.yml@main
You can’t perform that action at this time.
0 commit comments