Skip to content

Commit e092e80

Browse files
committed
remove main branch PR
1 parent c8b4756 commit e092e80

File tree

1 file changed

+1
-20
lines changed

1 file changed

+1
-20
lines changed

.github/workflows/pre-release-prepare.yml

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -111,23 +111,4 @@ jobs:
111111
112112
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice." \
113113
--head v${{ github.event.inputs.version }}_release \
114-
--base release/v${MAJOR_MINOR}.x
115-
116-
- name: Create pull request against main for CHANGELOG
117-
if: github.event.inputs.is_patch != 'true'
118-
env:
119-
GITHUB_TOKEN: ${{ env.BOT_TOKEN_GITHUB_RW_PATOKEN }}
120-
run: |
121-
git checkout -b "v${VERSION}_changelog_main"
122-
123-
sed -i "s/## Unreleased/## Unreleased\n\n## ${VERSION} - $(date +%Y-%m-%d)/" CHANGELOG.md
124-
git add CHANGELOG.md
125-
git commit -m "Add ${VERSION} to CHANGELOG"
126-
git push origin "v${VERSION}_changelog_main"
127-
128-
gh pr create --title "Add ${VERSION} to CHANGELOG" \
129-
--body "This PR adds the ${VERSION} release entry to CHANGELOG.md.
130-
131-
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice." \
132-
--head v${{ github.event.inputs.version }}_changelog_main \
133-
--base main
114+
--base release/v${MAJOR_MINOR}.x

0 commit comments

Comments
 (0)