[18.0-fr5] Improve error logging in pin-bundle-images.sh for EMPTY_SHA #4038
Workflow file for this run
This file contains hidden or 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: Lints | |
| on: [pull_request] | |
| jobs: | |
| check-go-mod-replace-lines: | |
| name: check for replace lines in go.mod files | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout project code | |
| uses: actions/checkout@v4 | |
| - name: check for replace lines in go.mod files | |
| run: | | |
| ! egrep --invert-match -e '^replace.*/apis => \./apis|^replace.*//allow-merging$' `find . -name 'go.mod'` | egrep -e 'go.mod:replace' |