Skip to content

Commit eb30354

Browse files
committed
chore: ci auto-merge fix
1 parent 08ff8e5 commit eb30354

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/automerge.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
name: Auto-merge dependabot updates
22

3-
on: pull_request
3+
on: pull_request_target
44

55
jobs:
66
auto-merge:
77
timeout-minutes: 5
88

99
runs-on: ubuntu-18.04
10+
if: github.actor == 'dependabot[bot]'
1011

1112
steps:
1213
- uses: actions/checkout@v2
1314
- uses: ahmadnassri/action-dependabot-auto-merge@v2
1415
with:
1516
target: minor
1617
approve: true
17-
github-token: ${{ secrets.GITHUB_TOKEN }}
18+
github-token: ${{ secrets.GH_TOKEN }}

0 commit comments

Comments
 (0)