Skip to content

Commit f17ca91

Browse files
authored
Fix auto-approve action (openapi-ts#667)
1 parent c681d24 commit f17ca91

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/auto_approve.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
11
name: Auto approve dependabot
2-
3-
on:
4-
pull_request:
5-
types:
6-
- opened
2+
on: pull_request_target
73

84
jobs:
95
build:
106
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]'
117
runs-on: ubuntu-latest
128
steps:
13-
- uses: hmarr/auto-approve-action@v2.0.0
9+
- uses: hmarr/auto-approve-action@v2
1410
with:
1511
github-token: '${{ secrets.GITHUB_TOKEN }}'

0 commit comments

Comments
 (0)