Skip to content

Commit

Permalink
fix auto aprove and merge workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ktr0731 committed Nov 12, 2021
1 parent 532b896 commit c264092
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/approve_and_merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ jobs:
id: metadata
uses: dependabot/fetch-metadata@v1.1.1
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
github-token: ${{secrets.GH_TOKEN}}
- name: Approve
run: gh pr review --approve "$PR_URL"
run: gh pr review --approve $PR_URL
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
GITHUB_TOKEN: ${{secrets.GH_TOKEN}}
- name: Enable auto-merge
run: gh pr merge --auto --merge "$PR_URL"
run: gh pr merge --auto --merge $PR_URL
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
GITHUB_TOKEN: ${{secrets.GH_TOKEN}}

0 comments on commit c264092

Please sign in to comment.