Skip to content

Commit

Permalink
Update release-sync.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaski committed Feb 1, 2024
1 parent 47cfd59 commit 55ad410
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ jobs:
}
} else if (!have_release) {
const issueBody = issues.length === 0 ?
`The main branch has commits that haven't been released yet. Here are the commits:\n\n${{ steps.prep.outputs.commits_since_last_release }}\n\nPlease prepare a new release.` :
`Update: New commits have been detected on the main branch. Here are the additional commits:\n\n${{ steps.prep.outputs.commits_since_last_release }}\n\nPlease update the release preparation.`;
`The main branch has commits that haven't been released yet. Here are the commits:\n\n${{ env.commits_since_last_release }}\n\nPlease prepare a new release.` :
`Update: New commits have been detected on the main branch. Here are the additional commits:\n\n${{ env.commits_since_last_release }}\n\nPlease update the release preparation.`;
if (issues.length === 0) {
// Create a new issue if none exists
await github.rest.issues.create({
Expand Down

0 comments on commit 55ad410

Please sign in to comment.