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

Commit 31b1d3d

Browse files
author
Thiago C. D'Ávila
authored
Update dependabot.yml
New try
1 parent d410995 commit 31b1d3d

1 file changed

Lines changed: 11 additions & 12 deletions

File tree

.github/workflows/dependabot.yml

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,21 @@ name: Dependabot
22

33
on:
44
pull_request:
5-
branches:
6-
- master
5+
branches: [ master ]
76

87
jobs:
98
automerge:
109
name: Merge pull request
1110
runs-on: ubuntu-latest
1211
if: github.base_ref == 'master' && github.actor == 'dependabot[bot]'
1312
steps:
14-
- name: Merge
15-
uses: actions/github-script@0.2.0
16-
with:
17-
github-token: ${{github.token}}
18-
script: |
19-
github.pullRequests.merge({
20-
owner: context.payload.repository.owner.login,
21-
repo: context.payload.repository.name,
22-
pull_number: context.payload.pull_request.number
23-
})
13+
- name: Merge
14+
uses: actions/github-script@0.2.0
15+
with:
16+
github-token: ${{github.token}}
17+
script: |
18+
github.pullRequests.merge({
19+
owner: context.payload.repository.owner.login,
20+
repo: context.payload.repository.name,
21+
pull_number: context.payload.pull_request.number
22+
})

0 commit comments

Comments
 (0)