Skip to content
This repository has been archived by the owner on Feb 17, 2021. It is now read-only.

Commit

Permalink
Update dependabot.yml
Browse files Browse the repository at this point in the history
New try
  • Loading branch information
Thiago C. D'Ávila authored May 5, 2020
1 parent d410995 commit 31b1d3d
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,21 @@ name: Dependabot

on:
pull_request:
branches:
- master
branches: [ master ]

jobs:
automerge:
name: Merge pull request
runs-on: ubuntu-latest
if: github.base_ref == 'master' && github.actor == 'dependabot[bot]'
steps:
- name: Merge
uses: actions/[email protected]
with:
github-token: ${{github.token}}
script: |
github.pullRequests.merge({
owner: context.payload.repository.owner.login,
repo: context.payload.repository.name,
pull_number: context.payload.pull_request.number
})
- name: Merge
uses: actions/[email protected]
with:
github-token: ${{github.token}}
script: |
github.pullRequests.merge({
owner: context.payload.repository.owner.login,
repo: context.payload.repository.name,
pull_number: context.payload.pull_request.number
})

0 comments on commit 31b1d3d

Please sign in to comment.