kgaughan / gcredstash

gcredstash manages credentials using AWS Key Management Service (KMS) and DynamoDB.
Apache License 2.0
1 stars 2 forks source link

Automatically regenerate mocks when dependabot opens a PR #77

Closed kgaughan closed 3 months ago

kgaughan commented 3 months ago

Summary by Sourcery

This pull request introduces a new GitHub Actions workflow that automatically regenerates mocks whenever Dependabot opens a pull request. This ensures that the mocks are always up-to-date with the latest dependencies.

sourcery-ai[bot] commented 3 months ago

Reviewer's Guide by Sourcery

This pull request introduces a new GitHub Actions workflow file (.github/workflows/dependabot.yml) that automates the regeneration of mocks whenever Dependabot opens a pull request. The workflow is configured to trigger on pull requests, set appropriate permissions, and run a job that checks out the repository, sets up Go, runs the 'make mock' command, and commits and pushes the updated mocks.

File-Level Changes

Files Changes
.github/workflows/dependabot.yml Introduced a new GitHub Actions workflow to automate the regeneration of mocks when Dependabot opens a pull request.

Tips - Trigger a new Sourcery review by commenting `@sourcery-ai review` on the pull request. - Continue your discussion with Sourcery by replying directly to review comments. - You can change your review settings at any time by accessing your [dashboard](https://app.sourcery.ai): - Enable or disable the Sourcery-generated pull request summary or reviewer's guide; - Change the review language; - You can always [contact us](mailto:support@sourcery.ai) if you have any questions or feedback.