Skip to content

Commit

Permalink
πŸ› Fix GH action.
Browse files Browse the repository at this point in the history
Signed-off-by: Preslav <[email protected]>
  • Loading branch information
preslavgerchev committed Oct 21, 2024
1 parent 5639cce commit 8e197a5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
golang-version=1.23.0
File renamed without changes.
6 changes: 3 additions & 3 deletions .github/workflows/code-gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ jobs:
- name: Check git diff
id: git-diff
run: |
git diff --exit-code .
echo "GIT_DIFF=$?" >> $GITHUB_OUTPUT
DIFF=$(git status --porcelain | wc -l)
echo "GIT_DIFF=${DIFF}" >> $GITHUB_OUTPUT
- name: Create PR
if: steps.git-diff.outputs.GIT_DIFF == '1'
if: steps.git-diff.outputs.GIT_DIFF != '0'
id: cpr
uses: peter-evans/create-pull-request@v6
with:
Expand Down

0 comments on commit 8e197a5

Please sign in to comment.