Merge pull request #526 from glours/update_dependabot_pusher_name2

CI update dependabot PR - Check that the pusher equal dependabot-prev…
This commit is contained in:
Guillaume Lours 2020-08-20 15:42:45 +02:00 committed by GitHub
commit 59e77fc05d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ jobs:
# https://github.com/dependabot/dependabot-core/issues/1995
- name: Update dependabot PR
if: startWith(github.event.pusher.name,'dependabot-preview')
if: github.event.pusher.name == 'dependabot-preview[bot]'
run: |
git config --local user.email "compose-cli-ci@docker.com"
git config --local user.name "CI GitHub Action"
@ -29,7 +29,7 @@ jobs:
git commit -sm'Update go.sum after dependabot PR'
- name: Update dependabot PR if needed
if: startWith(github.event.pusher.name,'dependabot-preview')
if: github.event.pusher.name == 'dependabot-preview[bot]'
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}