File tree Expand file tree Collapse file tree 1 file changed +0
-28
lines changed Expand file tree Collapse file tree 1 file changed +0
-28
lines changed Original file line number Diff line number Diff line change 7373 env :
7474 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
7575 run : gh release upload ${{ github.event.release.tag_name }} ./build/distributions/*
76-
77- # Create a pull request
78- - name : Create Pull Request
79- if : ${{ steps.properties.outputs.changelog != '' }}
80- env :
81- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
82- run : |
83- VERSION="${{ github.event.release.tag_name }}"
84- BRANCH="changelog-update-$VERSION"
85- LABEL="release changelog"
86-
87- git config user.email "action@github.com"
88- git config user.name "GitHub Action"
89-
90- git checkout -b $BRANCH
91- git commit -am "Changelog update - $VERSION"
92- git push --set-upstream origin $BRANCH
93-
94- gh label create "$LABEL" \
95- --description "Pull requests with release changelog update" \
96- --force \
97- || true
98-
99- gh pr create \
100- --title "Changelog update - \`$VERSION\`" \
101- --body "Current pull request contains patched \`CHANGELOG.md\` file for the \`$VERSION\` version." \
102- --label "$LABEL" \
103- --head $BRANCH
You can’t perform that action at this time.
0 commit comments