diff --git a/.github/env b/.github/env new file mode 100644 index 0000000..e6a968b --- /dev/null +++ b/.github/env @@ -0,0 +1 @@ +golang-version=1.23.0 diff --git a/.github/workflows/code-gen.yaml b/.github/workflows/code-gen.yaml index 652d8fe..86ca9a9 100644 --- a/.github/workflows/code-gen.yaml +++ b/.github/workflows/code-gen.yaml @@ -37,7 +37,8 @@ jobs: id: git-diff run: | git diff --exit-code . - echo "GIT_DIFF=$?" >> $GITHUB_OUTPUT + EXIT_CODE=$(echo $?) + echo "GIT_DIFF=${EXIT_CODE}" >> $GITHUB_OUTPUT - name: Create PR if: steps.git-diff.outputs.GIT_DIFF == '1' id: cpr