Bump github.com/gardener/gardener from 1.97.1 to 1.101.2 #50
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tidy Gardener | |
on: | |
push: | |
branches: | |
- dependabot/go_modules/github.com/gardener/** | |
permissions: write-all | |
jobs: | |
run: | |
name: Run make tidy | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version-file: go.mod | |
- name: Make tidy | |
run: make tidy | |
- name: Commit changes | |
run: | | |
# Exit early if there is nothing to commit. This can happen if someone pushes to the dependabot's PR (for example has to adapt to a breaking change). | |
if [[ -z $(git status --porcelain) ]]; then | |
echo "Nothing to commit, working tree clean. Exiting..." | |
exit 0 | |
fi | |
git config user.name gardener-robot-ci-1 | |
git config user.email [email protected] | |
git add . | |
git commit -m "[dependabot skip] make tidy" | |
git push origin |