Skip to content

Commit 5912955

Browse files
committed
chore: Remove 'Create Pull Request'
1 parent b09c7aa commit 5912955

File tree

1 file changed

+1
-28
lines changed

1 file changed

+1
-28
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -66,31 +66,4 @@ jobs:
6666
- name: Upload Release Asset
6767
env:
6868
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/*

0 commit comments

Comments
 (0)