diff --git a/.github/workflows/check-codeowners.yaml b/.github/workflows/check-codeowners.yaml index ec61d9aca6ff..3864ece775d3 100644 --- a/.github/workflows/check-codeowners.yaml +++ b/.github/workflows/check-codeowners.yaml @@ -56,5 +56,6 @@ jobs: run: | make githubgen-install cd pr + echo "$(go env GOPATH)/bin" >> $GITHUB_PATH GITHUB_TOKEN=${{ secrets.READ_ORG_AND_USER_TOKEN }} githubgen git diff -s --exit-code || (echo 'Generated code is out of date, please apply this diff and commit the changes in this PR.' && git diff && exit 1)