Skip to content

Commit

Permalink
Approve when PR is created by dependabot preview. Build should still …
Browse files Browse the repository at this point in the history
…pass for it to succeed. (#153)
  • Loading branch information
robinvanpoppel committed May 9, 2020
1 parent 8bfe2c7 commit 9c9c27b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pull-request-automation.yml
Expand Up @@ -5,7 +5,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Approve pull request
if: github.actor == 'dependabot[bot]'
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]'
uses: andrewmusgrave/automatic-pull-request-review@0.0.2
with:
repo-token: '${{ secrets.GITHUB_TOKEN }}'
Expand Down

0 comments on commit 9c9c27b

Please sign in to comment.