From 0d1f48a8b6e7e4ec8bf429d07255826745f32934 Mon Sep 17 00:00:00 2001 From: Javier Bullrich Date: Tue, 4 Apr 2023 20:58:12 +0200 Subject: [PATCH 1/2] forgot to add a ! --- src/filters.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/filters.ts b/src/filters.ts index 58a2349..b74b8d8 100644 --- a/src/filters.ts +++ b/src/filters.ts @@ -9,5 +9,5 @@ export const byNoComments = (issue: IssueData): boolean => { } export const isNotFromAuthor = ({ user }: IssueData, authors: string[]): boolean => { - return authors.some(author => author.toLowerCase() === user?.login.toLowerCase()); + return !authors.some(author => author.toLowerCase() === user?.login.toLowerCase()); } From d2d492339fbf644edce6e2ab420003303bb71c59 Mon Sep 17 00:00:00 2001 From: Javier Bullrich Date: Tue, 4 Apr 2023 22:30:32 +0200 Subject: [PATCH 2/2] upgraded to version 0.0.5 --- action.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index ad9f857..ca46abd 100644 --- a/action.yml +++ b/action.yml @@ -38,4 +38,4 @@ outputs: runs: using: 'docker' - image: 'docker://ghcr.io/paritytech/stale-issues-finder/action:0.0.4' + image: 'docker://ghcr.io/paritytech/stale-issues-finder/action:0.0.5' diff --git a/package.json b/package.json index 9839add..9d7842e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "stale-issues-finder", - "version": "0.0.4", + "version": "0.0.5", "description": "Find what issues have been stale for a given time", "main": "src/index.ts", "engines": {