-
Notifications
You must be signed in to change notification settings - Fork 645
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Commit generated code automatically (#523)
* Commit generated code to master branch automatically * commit message
- Loading branch information
Showing
1 changed file
with
2 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 }} |