Skip to content

Commit

Permalink
Compare labels correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
nirinchev committed Mar 5, 2024
1 parent fd3d35a commit a61a69f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion title-checker/dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion title-checker/dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion title-checker/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export async function run(): Promise<void> {

for (const label of labels) {
for (const ignoreLabel of ignoreLabels) {
if (label === ignoreLabel) {
if (label.name === ignoreLabel) {
core.info(`Skipping title check because PR has label: '${label}'.`)
return
}
Expand Down

0 comments on commit a61a69f

Please sign in to comment.