diff --git a/.github/renovate.json b/.github/renovate.json index 07ba84d3..a3c4a6f7 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -30,5 +30,6 @@ "depNameTemplate": "golang", "datasourceTemplate": "docker" } - ] + ], + "gitIgnoredAuthors": ["github-actions@github.com"] } diff --git a/.github/workflows/aws-sdk-mocks.yml b/.github/workflows/aws-sdk-mocks.yml new file mode 100644 index 00000000..210621ca --- /dev/null +++ b/.github/workflows/aws-sdk-mocks.yml @@ -0,0 +1,35 @@ +name: aws-sdk-update-mocks + +on: + pull_request_target: + types: + - opened + - edited + - synchronize + branches: + - renovate/aws-sdk-go-monorepo + +permissions: + contents: write + pull-requests: read + +jobs: + go-generate: + name: go-generate + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 + with: + go-version: '1.21.x' + - name: download go mods + run: | + go mod download + - run: | + go generate ./... + - run: | + git config --global user.name github-actions + git config --global user.email github-actions@github.com + git add . + git commit -a -m 'chore: update mocks' + git push