Skip to content

Commit

Permalink
Commit generated code automatically (#523)
Browse files Browse the repository at this point in the history
* Commit generated code to master branch automatically

* commit message
  • Loading branch information
Yang-33 authored Oct 11, 2023
1 parent 8123ba2 commit b394b40
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/diff-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,10 @@ jobs:
run: |
git config user.name github-actions
git config user.email [email protected]
git checkout -b update-diff-${{ env.CURRENT_DATETIME }}
git add line-openapi
git add src/**
git commit -m "Codes are generated by openapi"
git push origin update-diff-${{ env.CURRENT_DATETIME }}
gh pr create -B ${{ github.ref_name }} -t "Codes are generated by openapi" -b "" --label "line-openapi-update"
git commit -m "Codes are generated by openapi generator"
git push origin master
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit b394b40

Please sign in to comment.