diff options
author | Niklas Seyfarth <niklas@seyfarth.de> | 2021-06-03 19:27:44 +0300 |
---|---|---|
committer | Niklas Seyfarth <niklas@seyfarth.de> | 2021-06-11 10:58:40 +0300 |
commit | c57ca97fc4ee490ddcc95b2bd5f447b2e282093a (patch) | |
tree | 4a5239b6f3c664c897fd998a984e3c1c6cb09bac /.github | |
parent | 92e122190b4bff52db100f68c7685660472d81a1 (diff) |
Fix dependabot approve action.
Signed-off-by: Niklas Seyfarth <niklas@seyfarth.de>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/dependabot-approve.yml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/dependabot-approve.yml b/.github/workflows/dependabot-approve.yml index cc5e6d1..0a76275 100644 --- a/.github/workflows/dependabot-approve.yml +++ b/.github/workflows/dependabot-approve.yml @@ -1,11 +1,11 @@ name: Dependabot auto approve -on: pull_request +on: pull_request_target jobs: - build: + auto-approve: runs-on: ubuntu-latest + if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]' steps: - - uses: hmarr/auto-approve-action@v2.0.0 - if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]' + - uses: hmarr/auto-approve-action@v2 with: github-token: "${{ secrets.GITHUB_TOKEN }}" |