File tree Expand file tree Collapse file tree 1 file changed +22
-6
lines changed
Expand file tree Collapse file tree 1 file changed +22
-6
lines changed Original file line number Diff line number Diff line change @@ -45,12 +45,28 @@ jobs:
4545 cd generator
4646 ./generate-sdk.sh
4747
48- - name : Commit and push changes
48+ - name : Configure Git
4949 if : steps.check_changes.outputs.changed == 'true'
50- env :
51- PAT_TOKEN : ${{ secrets.PAT_TOKEN }}
5250 run : |
53- git add .
54- git commit -m "chore: update Java SDK from latest OpenAPI specification" || exit 0
55- git push https://x-access-token:${PAT_TOKEN}@github.com/${{ github.repository }}.git HEAD:${{ github.ref }}
51+ git config --global user.name "Permify GitHub Actions"
52+ git config --global user.email "<>"
53+
54+ - name : Create Pull Request
55+ if : steps.check_changes.outputs.changed == 'true'
56+ uses : peter-evans/create-pull-request@v5
57+ with :
58+ token : ${{ secrets.PAT_TOKEN }}
59+ commit-message : " chore: update Java SDK from latest OpenAPI specification"
60+ title : " chore: update Java SDK from latest OpenAPI specification"
61+ body : |
62+ This PR updates the Java SDK based on the latest OpenAPI specification from the Permify repository.
63+
64+ ## Changes
65+ - Updated OpenAPI specification
66+ - Regenerated Java SDK code
67+ - Updated documentation
68+
69+ This is an automated update generated by the SDK generator workflow.
70+ branch : update-sdk-from-openapi
71+ delete-branch : true
5672
You can’t perform that action at this time.
0 commit comments