Skip to content

Commit

Permalink
tweak dependabot.yml (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
ktr0731 authored Mar 17, 2021
1 parent 7d420eb commit 3cae20e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- name: automerge
- name: Auto approve and merge Pull Request
uses: actions/github-script@v3.1
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
Expand All @@ -15,10 +15,11 @@ jobs:
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: context.issue.number,
event: 'APPROVE'
event: APPROVE
})
await github.pulls.merge({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: context.issue.number,
merge_method: squash
})

0 comments on commit 3cae20e

Please sign in to comment.