Skip to content

Commit

Permalink
Commented out creating pull request for release pipeline
Browse files Browse the repository at this point in the history
Signed-off-by: Uladzislau <[email protected]>
  • Loading branch information
KUGDev committed Oct 2, 2024
1 parent 6c46110 commit cff990d
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,25 +87,25 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release upload ${{ steps.properties.outputs.pluginVersionFull }} ./build/distributions/*

- name: Create Pull Request
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
VERSION="${{ steps.properties.outputs.pluginVersionFull }}"
BRANCH="release-changelog-update-$VERSION"
git config user.email "[email protected]"
git config user.name "GitHub Action"
git checkout -b $BRANCH
git commit -am ":moyai: ${VERSION}" -m "[skip ci]"
git push --set-upstream origin $BRANCH
gh pr create \
--title ":moyai: \`$VERSION\`" \
--body "Current pull request contains patched \`CHANGELOG.md\` file for the \`$VERSION\` version." \
--base "release/v$VERSION" \
--head $BRANCH
# - name: Create Pull Request
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# run: |
# VERSION="${{ steps.properties.outputs.pluginVersionFull }}"
# BRANCH="release-changelog-update-$VERSION"

# git config user.email "[email protected]"
# git config user.name "GitHub Action"

# git checkout -b $BRANCH
# git commit -am ":moyai: ${VERSION}" -m "[skip ci]"
# git push --set-upstream origin $BRANCH

# gh pr create \
# --title ":moyai: \`$VERSION\`" \
# --body "Current pull request contains patched \`CHANGELOG.md\` file for the \`$VERSION\` version." \
# --base "release/v$VERSION" \
# --head $BRANCH

- name: Close Milestone
continue-on-error: true
Expand Down

0 comments on commit cff990d

Please sign in to comment.