Skip to content

Commit

Permalink
fix: dependabot auto approve workflow scope
Browse files Browse the repository at this point in the history
  • Loading branch information
Jozwiaczek committed Apr 8, 2021
1 parent 7a6b8cf commit d320c31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dependabot-auto-approve.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: Dependabot auto approve

on: [pull_request]
on: [pull_request_target]

jobs:
auto-approve:
name: 'Auto approve'
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- uses: hmarr/auto-approve-action@v2.0.0
- uses: hmarr/auto-approve-action@v2
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]'
with:
github-token: '${{ secrets.GITHUB_TOKEN }}'

0 comments on commit d320c31

Please sign in to comment.