1010
1111jobs :
1212 update-versions-md :
13- if : startsWith(github.ref, 'refs/heads/release-') || github.ref == 'refs/heads/main'
1413 runs-on : ubuntu-latest
1514 steps :
1615 - name : Generate token
@@ -33,27 +32,13 @@ jobs:
3332 env :
3433 GITHUB_REPOSITORY : ${{ github.repository }}
3534
36- - name : Create Pull Request for main
35+ - name : Create Pull Request
3736 uses : peter-evans/create-pull-request@v7
3837 with :
3938 token : ${{ steps.generate-token.outputs.token }}
40- commit-message : " Update versions.md in dynamic plugin documentation"
41- branch : update-versions-doc
42- title : " Update versions.md in dynamic plugin documentation"
43- body : " This PR updates the versions documentation based on recent changes."
44- labels : " documentation"
45- base : main
46- signoff : true
47- delete-branch : true
48-
49- - name : Create Pull Request for release branch
50- if : startsWith(github.ref, 'refs/heads/release-')
51- uses : peter-evans/create-pull-request@v7
52- with :
53- token : ${{ steps.generate-token.outputs.token }}
54- commit-message : " Update versions.md in dynamic plugin documentation"
55- branch : update-versions-doc
56- title : " Update versions.md in dynamic plugin documentation"
39+ commit-message : " chore(docs): Update versions.md in dynamic plugin documentation"
40+ branch : update-versions-doc-${{ github.ref_name }}
41+ title : " chore(docs): [${{ github.ref_name }}] Update versions.md in dynamic plugin documentation"
5742 body : " This PR updates the versions documentation based on recent changes."
5843 labels : " documentation"
5944 signoff : true
0 commit comments