diff --git a/.github/workflows/chatops.yml b/.github/workflows/chatops.yml index 442d9a3482..933519c08a 100644 --- a/.github/workflows/chatops.yml +++ b/.github/workflows/chatops.yml @@ -319,11 +319,13 @@ jobs: git_user_signingkey: true git_commit_gpgsign: true - name: Fetch golang version + if: steps.check_comments_gen_test.outputs.BOOL_TRIGGERED == 'true' && steps.check_permissions.outputs.EXECUTABLE == 'true' run: | GO_VERSION=`make version/go` echo "version=${GO_VERSION}" >> $GITHUB_OUTPUT id: golang_version - uses: actions/setup-go@v3 + if: steps.check_comments_gen_test.outputs.BOOL_TRIGGERED == 'true' && steps.check_permissions.outputs.EXECUTABLE == 'true' with: go-version: ${{ steps.golang_version.outputs.version }} - name: Generate tests and push