Bump github.com/gardener/gardener from 1.98.2 to 1.99.0 #20
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: Run Make Tidy on Gardener Updates | |
on: | |
push: | |
branches: | |
- dependabot/go_modules/github.com/gardener/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 |