File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 14
14
outputs :
15
15
version_changed : ${{ steps.version_changed.outputs.changed }}
16
16
new_version : ${{ steps.get_new_version.outputs.version }}
17
- old_version : ${{ steps.get_old_version.outputs.version }}
18
17
steps :
19
18
- name : Checkout repository
20
19
uses : actions/checkout@v4
36
35
git checkout $PREV_TAG
37
36
VERSION=$(jq -r '.version' manifest.json)
38
37
echo "OLD_VERSION=$VERSION" >> $GITHUB_ENV
39
- echo "version=$VERSION" >> $GITHUB_OUTPUT
40
38
41
39
- name : Print versions
42
40
run : |
@@ -107,10 +105,17 @@ jobs:
107
105
- name : Create Pull Request
108
106
id : create_pr
109
107
uses : peter-evans/create-pull-request@v6
108
+ with :
109
+ title : " Update README and CHANGELOG for v${{ needs.check_version.outputs.new_version }}"
110
+ branch : " update-docs-${{ needs.check_version.outputs.new_version }}"
111
+ commit-message : " Update README and CHANGELOG for v${{ needs.check_version.outputs.new_version }}"
112
+ body : " This PR updates the README and CHANGELOG files for the new version v${{ needs.check_version.outputs.new_version }}."
113
+ labels : documentation, release, github-actions
114
+ delete-branch : true
110
115
111
116
- name : Merge Pull Request
112
117
id : merge_pr
113
- run : gh pr merge ${{ steps.create_pr.outputs.pull-request-number }}
118
+ run : gh pr merge " ${{ steps.create_pr.outputs.pull-request-number }}"
114
119
env :
115
120
GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
116
121
You can’t perform that action at this time.
0 commit comments