-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: dependabot auto approve workflow scope
- Loading branch information
1 parent
7a6b8cf
commit d320c31
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }}' |