Skip to content

Commit

Permalink
chore: Update label detection
Browse files Browse the repository at this point in the history
  • Loading branch information
PerfectSlayer committed Jun 23, 2023
1 parent 7c95912 commit 339bd8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/draft-release-notes-on-tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
var draftText = "# Improvements \n\n# Changes \n\n"
for (let pull of pullRequests) {
if (pull.merged_at && pull.milestone && pull.milestone.number == ${{steps.milestone.outputs.result}}) {
if (pull.labels.some(label => label.name == "no release notes")) {
if (pull.labels.some(label => label.name == "tag: no release notes")) {
continue
}
Expand All @@ -64,7 +64,7 @@ jobs:
lineItem += pull.title + " #" + pull.number
// Add author if community labeled
if (pull.labels.some(label => label.name == "community")) {
if (pull.labels.some(label => label.name == "tag: community")) {
lineItem += " (Thanks @" + pull.user.login + " for the contribution!)"
}
Expand Down

0 comments on commit 339bd8b

Please sign in to comment.