Skip to content

Commit

Permalink
BOT: Synchronize .github/workflows/automerge.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
hakatashi committed Nov 16, 2024
1 parent bf2abaf commit 78c189f
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/automerge.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
name: automerge
on: pull_request

permissions:
contents: write
pull-requests: write
on: pull_request_target

jobs:
dependabot:
Expand All @@ -14,9 +10,9 @@ jobs:
id: metadata
uses: dependabot/fetch-metadata@v2
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
github-token: "${{ secrets.USER_GITHUB_TOKEN }}"
- name: Enable auto-merge for Dependabot PRs
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.USER_GITHUB_TOKEN }}

0 comments on commit 78c189f

Please sign in to comment.