Skip to content

Commit

Permalink
chore(ci/cd): minor fixes to the release action (#3466)
Browse files Browse the repository at this point in the history
  • Loading branch information
leafty authored Feb 7, 2024
1 parent b1b9027 commit bdc0588
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/create-release-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
- name: Create Pull Request
uses: actions/github-script@v7
with:
token: ${{ secrets.RENKUBOT_GITHUB_TOKEN }}
github-token: ${{ secrets.RENKUBOT_GITHUB_TOKEN }}
script: |
const { repo, owner } = context.repo;
const result = await github.rest.pulls.create({
Expand All @@ -54,9 +54,11 @@ jobs:
head: 'release-${{ github.event.inputs.version }}',
base: '${{ github.event.inputs.target_branch }}',
body: [
'Release ${{ github.event.inputs.version }}',
'',
'This PR is auto-generated by [actions/github-script](https://github.com/actions/github-script).',
'',
'/deploy ',
'This PR is auto-generated by',
'[actions/github-script](https://github.com/actions/github-script).'
].join('\n')
});
github.rest.issues.addLabels({
Expand Down

0 comments on commit bdc0588

Please sign in to comment.