add missing inputs to action.yml closes #551 (#554)

This commit is contained in:
Marko Kungla
2021-09-14 17:13:17 +03:00
committed by GitHub
parent 2e221262b1
commit 002bc97450
4 changed files with 26 additions and 12 deletions

View File

@@ -8,7 +8,7 @@ import {isDateMoreRecentThan} from '../functions/dates/is-date-more-recent-than'
import {isValidDate} from '../functions/dates/is-valid-date';
import {isBoolean} from '../functions/is-boolean';
import {isLabeled} from '../functions/is-labeled';
import { cleanLabel } from '../functions/clean-label';
import {cleanLabel} from '../functions/clean-label';
import {shouldMarkWhenStale} from '../functions/should-mark-when-stale';
import {wordsToList} from '../functions/words-to-list';
import {IComment} from '../interfaces/comment';
@@ -537,7 +537,9 @@ export class IssuesProcessor {
const reversedEvents = events.reverse();
const staleLabeledEvent = reversedEvents.find(
event => event.event === 'labeled' && cleanLabel(event.label.name) === cleanLabel(label)
event =>
event.event === 'labeled' &&
cleanLabel(event.label.name) === cleanLabel(label)
);
if (!staleLabeledEvent) {