Skip to content
This repository has been archived by the owner on Mar 22, 2022. It is now read-only.

Commit

Permalink
Update Dependabot PR to update go.sum file and vendoring to fix Depen…
Browse files Browse the repository at this point in the history
…dabot PR issues

Signed-off-by: Guillaume Lours <[email protected]>
  • Loading branch information
glours authored and ndeloof committed Feb 10, 2021
1 parent ae0b22e commit 98b0199
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,24 @@ jobs:
- name: Check out code
uses: actions/checkout@v2

# https://github.com/dependabot/dependabot-core/issues/1995
- name: Update dependabot PR
if: github.event.pusher.name == 'dependabot-preview[bot]'
run: |
git config --local user.email "[email protected]"
git config --local user.name "CI GitHub Action"
go mod tidy -v
go mod vendor -v
git add .
git commit -sm'Update go.sum and vendoring after dependabot PR'
- name: Update dependabot PR if needed
if: github.event.pusher.name == 'dependabot-preview[bot]'
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}
force: false

- name: Lint
run: DOCKER_BUILDKIT=1 make lint

Expand Down

0 comments on commit 98b0199

Please sign in to comment.