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": { 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()); }