Skip to content

Commit

Permalink
WIP: fix syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
tomalec committed Aug 2, 2023
1 parent cdcb6f7 commit 0a8e3cc
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,11 @@ runs:
uses: actions/github-script@v6
with:
script: |
const title = `${github.event.pull_request.title} - Merge \`trunk\` to \`develop\``;
console.log(title, github.event.pull_request.url);
const title = '${{github.event.pull_request.title}} - Merge `trunk` to `develop`';
const opts = await github.rest.pulls.create( {
...context.repo,
base: 'develop',
head: 'trunk',
title,
body: github.event.pull_request.url,
body: '${{ github.event.pull_request.url }}',
} );

0 comments on commit 0a8e3cc

Please sign in to comment.