Skip to content

Commit

Permalink
undo comment
Browse files Browse the repository at this point in the history
  • Loading branch information
leafty committed Feb 14, 2024
1 parent 7f5a39b commit 106d713
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/prepare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,23 +65,23 @@ jobs:
git add client server helm-chart CHANGELOG.md
git commit -m "build: release ${{ steps.get_version.outputs.version }}"
git push
# - name: Create Pull Request
# uses: actions/github-script@v7
# with:
# github-token: ${{ secrets.RENKUBOT_GITHUB_TOKEN }}
# script: |
# const { repo, owner } = context.repo;
# const result = await github.rest.pulls.create({
# title: 'release ${{ steps.get_version.outputs.version }}',
# owner,
# repo,
# head: 'release-${{ steps.get_version.outputs.version }}',
# base: 'main',
# body: [
# 'Release ${{ steps.get_version.outputs.version }}',
# '',
# 'This PR is auto-generated by [actions/github-script](https://github.com/actions/github-script).',
# '',
# '/deploy ',
# ].join('\n')
# });
- name: Create Pull Request
uses: actions/github-script@v7
with:
github-token: ${{ secrets.RENKUBOT_GITHUB_TOKEN }}
script: |
const { repo, owner } = context.repo;
const result = await github.rest.pulls.create({
title: 'release ${{ steps.get_version.outputs.version }}',
owner,
repo,
head: 'release-${{ steps.get_version.outputs.version }}',
base: 'main',
body: [
'Release ${{ steps.get_version.outputs.version }}',
'',
'This PR is auto-generated by [actions/github-script](https://github.com/actions/github-script).',
'',
'/deploy ',
].join('\n')
});

0 comments on commit 106d713

Please sign in to comment.