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