Skip to content

Commit 8fae622

Browse files
authored
Update release.yml
1 parent 448e1c0 commit 8fae622

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -73,31 +73,3 @@ jobs:
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

0 commit comments

Comments
 (0)