Skip to content

Commit

Permalink
fix: finding merge pr in releaser
Browse files Browse the repository at this point in the history
  • Loading branch information
galargh authored Dec 4, 2024
1 parent a5532b0 commit 6cde127
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/releaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ jobs:
}
}
if (pr !== undefined) {
console.log(`Found PR: ${pr.data.html_url}`);
const labels = pr.data.labels.map(l => l.name);
console.log(`Found PR: ${pr.html_url}`);
const labels = pr.labels.map(l => l.name);
const release = labels.includes('release');
console.log(`This is a release PR: ${release}`);
core.setOutput('release', release);
Expand Down

0 comments on commit 6cde127

Please sign in to comment.